summaryrefslogtreecommitdiffstats
path: root/lib/libmenu/m_scale.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-01-22 18:01:32 +0000
committermillert <millert@openbsd.org>2001-01-22 18:01:32 +0000
commit84af20cee44481ef9eb2070c76702603863c1a4c (patch)
treeb232b1727be5b5b1854432f2b87c149f7522cb9d /lib/libmenu/m_scale.c
parentfix memory leaks in SSH2 key exchange; ok markus@ (diff)
downloadwireguard-openbsd-84af20cee44481ef9eb2070c76702603863c1a4c.tar.xz
wireguard-openbsd-84af20cee44481ef9eb2070c76702603863c1a4c.zip
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libmenu/m_scale.c')
-rw-r--r--lib/libmenu/m_scale.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libmenu/m_scale.c b/lib/libmenu/m_scale.c
index 431fc3a9b9a..ebd8801e9ec 100644
--- a/lib/libmenu/m_scale.c
+++ b/lib/libmenu/m_scale.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: m_scale.c,v 1.3 1999/05/17 03:04:25 millert Exp $ */
+/* $OpenBSD: m_scale.c,v 1.4 2001/01/22 18:02:06 millert Exp $ */
/****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,2000 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -39,7 +39,7 @@
#include "menu.priv.h"
-MODULE_ID("$From: m_scale.c,v 1.4 1999/05/16 17:28:00 juergen Exp $")
+MODULE_ID("$From: m_scale.c,v 1.5 2000/12/10 02:16:48 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnmenu
@@ -52,7 +52,8 @@ MODULE_ID("$From: m_scale.c,v 1.4 1999/05/16 17:28:00 juergen Exp $")
| E_BAD_ARGUMENT - invalid menu pointer
| E_NOT_CONNECTED - no items are connected to menu
+--------------------------------------------------------------------------*/
-int scale_menu(const MENU *menu, int *rows, int *cols)
+NCURSES_EXPORT(int)
+scale_menu (const MENU *menu, int *rows, int *cols)
{
if (!menu)
RETURN( E_BAD_ARGUMENT );