aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/unix/getut.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-11-18 21:47:44 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-11-18 21:47:44 +0000
commitfd450adfe7378555bc79b356caa28fe7e1875d35 (patch)
tree9192d8c7ca53fa990c5cdad610c4884c79e62748 /newlib/libc/unix/getut.c
parent57f69f200e473bbb545ebfbe3dc2bb82c7a7a128 (diff)
downloadnewlib-fd450adfe7378555bc79b356caa28fe7e1875d35.zip
newlib-fd450adfe7378555bc79b356caa28fe7e1875d35.tar.gz
newlib-fd450adfe7378555bc79b356caa28fe7e1875d35.tar.bz2
2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
* libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be ignored if desired by a platform. * libc/unix/dirname.c: Ditto except replace BASENAME with file name. * libc/unix/getcwd.c: Ditto. * libc/unix/getlogin.c: Ditto. * libc/unix/getpass.c: Ditto. * libc/unix/getpwent.c: Ditto. * libc/unix/getut.c: Ditto. * libc/unix/pread.c: Ditto. * libc/unix/pwrite.c: Ditto. * libc/unix/sigset.c: Ditto.
Diffstat (limited to 'newlib/libc/unix/getut.c')
-rw-r--r--newlib/libc/unix/getut.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/unix/getut.c b/newlib/libc/unix/getut.c
index 554ed3c..cf054cb 100644
--- a/newlib/libc/unix/getut.c
+++ b/newlib/libc/unix/getut.c
@@ -1,3 +1,5 @@
+#ifndef _NO_GETUT
+
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
@@ -84,3 +86,5 @@ getutline (struct utmp *line)
return 0;
}
+
+#endif /* !_NO_GETUT */