Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-08-22 23:04:49 +0400
committerDJ Delorie <dj@redhat.com>2000-08-22 23:04:49 +0400
commit644b7f266b464e4e336050ed75282f83b83ef71a (patch)
tree7391220511052a6f677340c31c62fe0bcf50314c /newlib/libc/unix
parente136f5c0e03a5ffc0ea0c514ca38d8b9857d047e (diff)
* libc/unix/getut.c (utmpname): added _CONST to reflect common use
and prototype in cygwin's utmp.h
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r--newlib/libc/unix/getut.c3
1 files changed, 2 insertions, 1 deletions
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 <unistd.h>
#include <utmp.h>
#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 *);