summaryrefslogtreecommitdiff
path: root/lib/libmenu/userptr.c
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1999-11-30 15:58:16 +0000
committerkleink <kleink@NetBSD.org>1999-11-30 15:58:16 +0000
commit87bead520dbb31f366e46b514ec6574054e8f5d6 (patch)
treec0b11a31044c2b0c32956717b46a337e1738aaaa /lib/libmenu/userptr.c
parentd574ffc67383c19eabc6134f4d3f3039248ff8b1 (diff)
* use <stdlib.h> instead of deprecated <malloc.h>
* replace <strings.h>/bcopy() with <string.h>/memcpy()
Diffstat (limited to 'lib/libmenu/userptr.c')
-rw-r--r--lib/libmenu/userptr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libmenu/userptr.c b/lib/libmenu/userptr.c
index ff3980829a6..1b38c012a27 100644
--- a/lib/libmenu/userptr.c
+++ b/lib/libmenu/userptr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: userptr.c,v 1.2 1999/11/24 12:43:20 kleink Exp $ */
+/* $NetBSD: userptr.c,v 1.3 1999/11/30 15:58:17 kleink Exp $ */
/*-
* Copyright (c) 1998-1999 Brett Lymn (blymn@baea.com.au, brett_lymn@yahoo.com)
@@ -27,8 +27,8 @@
*/
#include <menu.h>
-#include <malloc.h>
-#include <strings.h>
+#include <stdlib.h>
+#include <string.h>
/* the following is defined in menu.c */
extern MENU _menui_default_menu;