From 644b7f266b464e4e336050ed75282f83b83ef71a Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 22 Aug 2000 19:04:49 +0000 Subject: * libc/unix/getut.c (utmpname): added _CONST to reflect common use and prototype in cygwin's utmp.h --- newlib/libc/unix/getut.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'newlib/libc/unix') diff --git a/newlib/libc/unix/getut.c b/newlib/libc/unix/getut.c index d716b324c..d8e3e2fec 100644 --- a/newlib/libc/unix/getut.c +++ b/newlib/libc/unix/getut.c @@ -2,6 +2,7 @@ #include #include #include <_syslist.h> +#include <_ansi.h> static int utmp_fd = -2; static char *utmp_file = UTMP_FILE; @@ -26,7 +27,7 @@ endutent () } void -utmpname (char *file) +utmpname (_CONST char *file) { extern char *strdup (char *); -- cgit v1.2.3