diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-10 00:22:53 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-10 00:22:53 +0000 |
commit | 3720c42fcc3645f08053087b29e8f44cf9aeb438 (patch) | |
tree | 75056355e3f9a284d7e3618618bb05dca01ce16c /libc | |
parent | f445c58e7015240d1e68aa3d7c2cf50a298e2c2a (diff) |
Switch fread/fwrite/fclose/pipe/sigsetmask users
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/rpc/rcmd.c | 1 | ||||
-rw-r--r-- | libc/inet/rpc/xdr_stdio.c | 3 | ||||
-rw-r--r-- | libc/misc/wchar/wchar.c | 2 | ||||
-rw-r--r-- | libc/misc/wordexp/wordexp.c | 1 | ||||
-rw-r--r-- | libc/stdio/popen.c | 1 |
5 files changed, 8 insertions, 0 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index bd459826a..c2eed87d4 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -55,6 +55,7 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94"; #define poll __poll #define accept __accept #define listen __listen +#define sigsetmask __sigsetmask #define __FORCE_GLIBC #include <features.h> diff --git a/libc/inet/rpc/xdr_stdio.c b/libc/inet/rpc/xdr_stdio.c index 411cf17da..bd9ee4f1b 100644 --- a/libc/inet/rpc/xdr_stdio.c +++ b/libc/inet/rpc/xdr_stdio.c @@ -37,6 +37,9 @@ * from the stream. */ +#define fread __fread +#define fwrite __fwrite + #include <rpc/types.h> #include <stdio.h> #include <rpc/xdr.h> diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c index 4ef93eaff..0d7d8371a 100644 --- a/libc/misc/wchar/wchar.c +++ b/libc/misc/wchar/wchar.c @@ -99,6 +99,8 @@ */ #define vfprintf __vfprintf +#define fread __fread +#define fwrite __fwrite #define _GNU_SOURCE #define _ISOC99_SOURCE diff --git a/libc/misc/wordexp/wordexp.c b/libc/misc/wordexp/wordexp.c index a850b2aca..e76d6a63a 100644 --- a/libc/misc/wordexp/wordexp.c +++ b/libc/misc/wordexp/wordexp.c @@ -33,6 +33,7 @@ #define dup2 __dup2 #define atoi __atoi #define fnmatch __fnmatch +#define pipe __pipe #if 0 #define glob __glob #define globfree __globfree diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c index 14a36aa64..c3ee09381 100644 --- a/libc/stdio/popen.c +++ b/libc/stdio/popen.c @@ -18,6 +18,7 @@ #define execl __execl #define dup2 __dup2 #define fdopen __fdopen +#define pipe __pipe #include <stdio.h> #include <stdlib.h> |