summaryrefslogtreecommitdiffstats
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/syslog/syslog.c2
-rw-r--r--libc/misc/ttyent/getttyent.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index 3d0e9fb7b..504154f90 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -148,7 +148,7 @@ __openlog( const char *ident, int logstat, int logfac )
sizeof(SyslogAddr.sa_data));
retry:
if (LogStat & LOG_NDELAY) {
- if ((LogFile = socket(AF_UNIX, logType, 0)) == -1){
+ if ((LogFile = __socket(AF_UNIX, logType, 0)) == -1){
UNLOCK;
return;
}
diff --git a/libc/misc/ttyent/getttyent.c b/libc/misc/ttyent/getttyent.c
index 04f511921..8e104733c 100644
--- a/libc/misc/ttyent/getttyent.c
+++ b/libc/misc/ttyent/getttyent.c
@@ -28,6 +28,7 @@
*/
#define __fsetlocking __fsetlocking_internal
+#define rewind __rewind
#define _GNU_SOURCE
#include <features.h>