From: Roland McGrath Date: Fri, 24 Jun 1994 09:45:35 +0000 (+0000) Subject: [__arm]: Undefine POSIX. X-Git-Tag: 3.71.2~43 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=660a23d6493910c3cf5fa0699811d1c1c3f3e655;p=platform%2Fupstream%2Fmake.git [__arm]: Undefine POSIX. [!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system functions that return int. --- diff --git a/make.h b/make.h index e5fbc48..2074fe9 100644 --- a/make.h +++ b/make.h @@ -67,7 +67,7 @@ extern int errno; #endif /* Some systems define _POSIX_VERSION but are not really POSIX.1. */ -#if (defined (butterfly) || \ +#if (defined (butterfly) || defined (__arm) \ (defined (__mips) && defined (_SYSTYPE_SVR3)) || \ (defined (sequent) && defined (i386))) #undef POSIX @@ -304,15 +304,7 @@ extern void user_access (), make_access (), child_access (); #if !defined (__GNU_LIBRARY__) && !defined (POSIX) && !defined (_POSIX_VERSION) -#ifdef HAVE_SIGSETMASK -extern int sigsetmask (); -extern int sigblock (); -#endif -extern int kill (); -extern int atoi (); extern long int atol (); -extern int unlink (), stat (), fstat (); -extern int pipe (), close (), read (), write (), open (); extern long int lseek (); #endif /* Not GNU C library or POSIX. */