Browse Source

remove __FORCE_GLIBC

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 years ago
parent
commit
1533e2876b
64 changed files with 0 additions and 174 deletions
  1. 0 8
      include/rpc/auth.h
  2. 0 8
      include/rpc/rpc.h
  3. 0 8
      include/rpc/types.h
  4. 0 5
      include/rpc/xdr.h
  5. 0 2
      libc/inet/addr.c
  6. 0 2
      libc/inet/ether_addr.c
  7. 0 2
      libc/inet/gai_strerror.c
  8. 0 2
      libc/inet/getaddrinfo.c
  9. 0 2
      libc/inet/herror.c
  10. 0 2
      libc/inet/hostid.c
  11. 0 2
      libc/inet/if_index.c
  12. 0 2
      libc/inet/ifaddrs.c
  13. 0 2
      libc/inet/in6_addr.c
  14. 0 2
      libc/inet/inet_net.c
  15. 0 2
      libc/inet/ntop.c
  16. 0 2
      libc/inet/resolv.c
  17. 0 2
      libc/inet/rpc/auth_none.c
  18. 0 3
      libc/inet/rpc/auth_unix.c
  19. 0 3
      libc/inet/rpc/bindresvport.c
  20. 0 3
      libc/inet/rpc/clnt_generic.c
  21. 0 3
      libc/inet/rpc/clnt_perror.c
  22. 0 1
      libc/inet/rpc/clnt_raw.c
  23. 0 3
      libc/inet/rpc/clnt_simple.c
  24. 0 3
      libc/inet/rpc/clnt_tcp.c
  25. 0 3
      libc/inet/rpc/clnt_udp.c
  26. 0 3
      libc/inet/rpc/clnt_unix.c
  27. 0 3
      libc/inet/rpc/create_xid.c
  28. 0 2
      libc/inet/rpc/getrpcent.c
  29. 0 3
      libc/inet/rpc/getrpcport.c
  30. 0 3
      libc/inet/rpc/pmap_clnt.c
  31. 0 3
      libc/inet/rpc/pmap_rmt.c
  32. 0 2
      libc/inet/rpc/rexec.c
  33. 0 3
      libc/inet/rpc/rpc_cmsg.c
  34. 0 4
      libc/inet/rpc/rpc_dtablesize.c
  35. 0 3
      libc/inet/rpc/rpc_prot.c
  36. 0 2
      libc/inet/rpc/rpc_thread.c
  37. 0 3
      libc/inet/rpc/rtime.c
  38. 0 2
      libc/inet/rpc/ruserpass.c
  39. 0 2
      libc/inet/rpc/sa_len.c
  40. 0 3
      libc/inet/rpc/svc.c
  41. 0 3
      libc/inet/rpc/svc_authux.c
  42. 0 2
      libc/inet/rpc/svc_raw.c
  43. 0 3
      libc/inet/rpc/svc_run.c
  44. 0 3
      libc/inet/rpc/svc_simple.c
  45. 0 3
      libc/inet/rpc/svc_tcp.c
  46. 0 3
      libc/inet/rpc/svc_udp.c
  47. 0 3
      libc/inet/rpc/svc_unix.c
  48. 0 3
      libc/inet/rpc/xdr.c
  49. 0 3
      libc/inet/rpc/xdr_array.c
  50. 0 3
      libc/inet/rpc/xdr_float.c
  51. 0 4
      libc/inet/rpc/xdr_rec.c
  52. 0 3
      libc/inet/rpc/xdr_reference.c
  53. 0 2
      libc/inet/socketcalls.c
  54. 0 2
      libc/misc/syslog/syslog.c
  55. 0 1
      libc/sysdeps/linux/common/cmsg_nxthdr.c
  56. 0 1
      libcrypt/crypt.c
  57. 0 1
      libcrypt/crypt_stub.c
  58. 0 1
      libcrypt/des.c
  59. 0 2
      libpthread/linuxthreads.old/cancel.c
  60. 0 2
      libpthread/linuxthreads.old/errno.c
  61. 0 2
      libpthread/linuxthreads.old/pthread.c
  62. 0 2
      libpthread/linuxthreads.old/spinlock.c
  63. 0 2
      libpthread/linuxthreads.old/wrapsyscall.c
  64. 0 2
      libpthread/linuxthreads.old_db/thread_dbP.h

+ 0 - 8
include/rpc/auth.h

@@ -42,14 +42,6 @@
 
 #define _RPC_AUTH_H	1
 #ifdef _LIBC
-/* Some adjustments to make the libc source from glibc
- * compile more easily with uClibc... */
-#ifndef __FORCE_GLIBC
-#define __FORCE_GLIBC
-#endif
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
 #define _(X)	X
 #endif
 #include <features.h>

+ 0 - 8
include/rpc/rpc.h

@@ -39,14 +39,6 @@
 #define _RPC_RPC_H 1
 
 #ifdef _LIBC
-/* Some adjustments to make the libc source from glibc
- * compile more easily with uClibc... */
-#ifndef __FORCE_GLIBC
-#define __FORCE_GLIBC
-#endif
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
 #define _(X)	X
 #include <features.h>
 #endif

+ 0 - 8
include/rpc/types.h

@@ -34,14 +34,6 @@
 #define _RPC_TYPES_H 1
 
 #ifdef _LIBC
-/* Some adjustments to make the libc source from glibc
- * compile more easily with uClibc... */
-#ifndef __FORCE_GLIBC
-#define __FORCE_GLIBC
-#endif
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
 #define _(X)	X
 #endif
 #include <features.h>

+ 0 - 5
include/rpc/xdr.h

@@ -37,11 +37,6 @@
 #define _RPC_XDR_H 1
 
 #ifdef _LIBC
-/* Some adjustments to make the libc source from glibc
- * compile more easily with uClibc... */
-# ifndef __FORCE_GLIBC
-#  define __FORCE_GLIBC
-# endif
 # define _(X)	X
 #endif
 #include <features.h>

+ 0 - 2
libc/inet/addr.c

@@ -17,8 +17,6 @@
  * Changed to use _int10tostr.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <stdio.h>
 #include <string.h>
 #include <ctype.h>

+ 0 - 2
libc/inet/ether_addr.c

@@ -23,8 +23,6 @@
  * 	- initial uClibc port
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>

+ 0 - 2
libc/inet/gai_strerror.c

@@ -17,8 +17,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <stdio.h>
 #include <netdb.h>
 

+ 0 - 2
libc/inet/getaddrinfo.c

@@ -51,8 +51,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
   If these license terms cause you a real problem, contact the author.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <assert.h>
 #include <errno.h>
 #include <netdb.h>

+ 0 - 2
libc/inet/herror.c

@@ -17,8 +17,6 @@
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <stdio.h>
 #include <string.h>
 #include <netdb.h>

+ 0 - 2
libc/inet/hostid.c

@@ -5,8 +5,6 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <errno.h>
 #include <unistd.h>
 #include <sys/types.h>

+ 0 - 2
libc/inet/if_index.c

@@ -20,8 +20,6 @@
    Reworked Dec 2002 by Erik Andersen <andersen@codepoet.org>
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <string.h>
 #include <alloca.h>
 #include <errno.h>

+ 0 - 2
libc/inet/ifaddrs.c

@@ -17,8 +17,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <alloca.h>
 #include <assert.h>
 #include <errno.h>

+ 0 - 2
libc/inet/in6_addr.c

@@ -17,8 +17,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <netinet/in.h>
 
 #ifdef __UCLIBC_HAS_IPV6__

+ 0 - 2
libc/inet/inet_net.c

@@ -32,8 +32,6 @@
  * SUCH DAMAGE.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <ctype.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>

+ 0 - 2
libc/inet/ntop.c

@@ -15,8 +15,6 @@
  * SOFTWARE.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <sys/param.h>
 #include <sys/types.h>
 #include <sys/socket.h>

+ 0 - 2
libc/inet/resolv.c

@@ -293,8 +293,6 @@ Domain name in a message can be represented as either:
    - a sequence of labels ending with a pointer
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdio_ext.h>

+ 0 - 2
libc/inet/rpc/auth_none.c

@@ -35,8 +35,6 @@
  * credentials and verifiers to remote systems.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include "rpc_private.h"
 
 

+ 0 - 3
libc/inet/rpc/auth_unix.c

@@ -38,9 +38,6 @@
  * for the credentials.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <limits.h>
 #include <stdio.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/bindresvport.c

@@ -30,9 +30,6 @@
  * Copyright (c) 1987 by Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <errno.h>
 #include <unistd.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/clnt_generic.c

@@ -30,9 +30,6 @@
  * Copyright (C) 1987, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <alloca.h>
 #include <errno.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/clnt_perror.c

@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
  *
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <string.h>
 #include "rpc_private.h"

+ 0 - 1
libc/inet/rpc/clnt_raw.c

@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
  * any interference from the kernel.
  */
 
-#define __FORCE_GLIBC
 #include <features.h>
 #include "rpc_private.h"
 #include <rpc/svc.h>

+ 0 - 3
libc/inet/rpc/clnt_simple.c

@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <alloca.h>
 #include <errno.h>
 #include <stdio.h>

+ 0 - 3
libc/inet/rpc/clnt_tcp.c

@@ -50,9 +50,6 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
  * Now go hang yourself.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <netdb.h>
 #include <errno.h>
 #include <stdio.h>

+ 0 - 3
libc/inet/rpc/clnt_udp.c

@@ -37,9 +37,6 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <unistd.h>
 #include <rpc/rpc.h>

+ 0 - 3
libc/inet/rpc/clnt_unix.c

@@ -46,9 +46,6 @@
  * Now go hang yourself.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <netdb.h>
 #include <errno.h>
 #include <stdio.h>

+ 0 - 3
libc/inet/rpc/create_xid.c

@@ -17,9 +17,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <unistd.h>
 #include <stdlib.h>
 #include <sys/time.h>

+ 0 - 2
libc/inet/rpc/getrpcent.c

@@ -33,8 +33,6 @@
  * Copyright (c) 1985 by Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <stdio.h>
 #include <string.h>
 #include <sys/types.h>

+ 0 - 3
libc/inet/rpc/getrpcport.c

@@ -35,9 +35,6 @@ static  char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
  * Copyright (c) 1985 by Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <alloca.h>
 #include <errno.h>
 #include <stdio.h>

+ 0 - 3
libc/inet/rpc/pmap_clnt.c

@@ -34,9 +34,6 @@
  * Client interface to pmap rpc service.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <unistd.h>
 #include <net/if.h>

+ 0 - 3
libc/inet/rpc/pmap_rmt.c

@@ -39,9 +39,6 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <unistd.h>
 #include <string.h>
 #include <rpc/rpc.h>

+ 0 - 2
libc/inet/rpc/rexec.c

@@ -27,8 +27,6 @@
  * SUCH DAMAGE.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 

+ 0 - 3
libc/inet/rpc/rpc_cmsg.c

@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro";
  *
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <string.h>
 #include <sys/param.h>
 #include <rpc/rpc.h>

+ 0 - 4
libc/inet/rpc/rpc_dtablesize.c

@@ -31,10 +31,6 @@
 static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";
 #endif
 
-#define __FORCE_GLIBC
-#define __USE_BSD
-#include <features.h>
-
 #include <unistd.h>
 #include <rpc/clnt.h>
 

+ 0 - 3
libc/inet/rpc/rpc_prot.c

@@ -44,9 +44,6 @@ static char sccsid[] = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro";
  * routines are also in this program.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <sys/param.h>
 
 #include <rpc/rpc.h>

+ 0 - 2
libc/inet/rpc/rpc_thread.c

@@ -4,8 +4,6 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <stdio.h>
 #include <assert.h>
 #include "rpc_private.h"

+ 0 - 3
libc/inet/rpc/rtime.c

@@ -43,9 +43,6 @@ static char sccsid[] = "@(#)rtime.c	2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S
  * what unix uses.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <unistd.h>
 #include <rpc/rpc.h>

+ 0 - 2
libc/inet/rpc/ruserpass.c

@@ -27,8 +27,6 @@
  * SUCH DAMAGE.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 

+ 0 - 2
libc/inet/rpc/sa_len.c

@@ -16,8 +16,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netipx/ipx.h>

+ 0 - 3
libc/inet/rpc/svc.c

@@ -36,9 +36,6 @@
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <errno.h>
 #include <unistd.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/svc_authux.c

@@ -38,9 +38,6 @@
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <string.h>
 #include <rpc/rpc.h>

+ 0 - 2
libc/inet/rpc/svc_raw.c

@@ -40,8 +40,6 @@ static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include "rpc_private.h"
 #include <rpc/svc.h>
 

+ 0 - 3
libc/inet/rpc/svc_run.c

@@ -31,9 +31,6 @@
  * Wait for input, call server program.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <errno.h>
 #include <unistd.h>
 #include <sys/poll.h>

+ 0 - 3
libc/inet/rpc/svc_simple.c

@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>

+ 0 - 3
libc/inet/rpc/svc_tcp.c

@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
  * and a record/tcp stream.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/svc_udp.c

@@ -39,9 +39,6 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
  * Copyright (C) 1984, Sun Microsystems, Inc.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/svc_unix.c

@@ -37,9 +37,6 @@
  * and a record/unix stream.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <unistd.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/xdr.c

@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
  * xdr.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <limits.h>
 #include <string.h>

+ 0 - 3
libc/inet/rpc/xdr_array.c

@@ -40,9 +40,6 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
  * arrays.  See xdr.h for more info on the interface to xdr.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <string.h>
 #include <rpc/types.h>

+ 0 - 3
libc/inet/rpc/xdr_float.c

@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
  * xdr.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <endian.h>
 

+ 0 - 4
libc/inet/rpc/xdr_rec.c

@@ -44,10 +44,6 @@
  * The other 31 bits encode the byte length of the fragment.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
-
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>

+ 0 - 3
libc/inet/rpc/xdr_reference.c

@@ -40,9 +40,6 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
  * "pointers".  See xdr.h for more info on the interface to xdr.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
-
 #include <stdio.h>
 #include <string.h>
 #include <rpc/types.h>

+ 0 - 2
libc/inet/socketcalls.c

@@ -4,8 +4,6 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <errno.h>
 #include <syscall.h>
 #include <sys/socket.h>

+ 0 - 2
libc/misc/syslog/syslog.c

@@ -58,8 +58,6 @@
  *  - Major code cleanup.
  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/file.h>

+ 0 - 1
libc/sysdeps/linux/common/cmsg_nxthdr.c

@@ -17,7 +17,6 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#define __FORCE_GLIBC
 #include <features.h>
 /* Prevent math.h from defining a colliding inline */
 #undef __USE_EXTERN_INLINES

+ 0 - 1
libcrypt/crypt.c

@@ -5,7 +5,6 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#define __FORCE_GLIBC
 #include <unistd.h>
 #include <crypt.h>
 #include "libcrypt.h"

+ 0 - 1
libcrypt/crypt_stub.c

@@ -5,7 +5,6 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
-#define __FORCE_GLIBC
 #include <crypt.h>
 #include <unistd.h>
 #include "libcrypt.h"

+ 0 - 1
libcrypt/des.c

@@ -56,7 +56,6 @@
  *	alignment).
  */
 
-#define __FORCE_GLIBC
 #include <sys/cdefs.h>
 #include <sys/types.h>
 #include <sys/param.h>

+ 0 - 2
libpthread/linuxthreads.old/cancel.c

@@ -14,8 +14,6 @@
 
 /* Thread cancellation */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <errno.h>
 #include "pthread.h"
 #include "internals.h"

+ 0 - 2
libpthread/linuxthreads.old/errno.c

@@ -14,8 +14,6 @@
 
 /* Define the location of errno for the remainder of the C library */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <errno.h>
 #include <netdb.h>
 #include "pthread.h"

+ 0 - 2
libpthread/linuxthreads.old/pthread.c

@@ -14,8 +14,6 @@
 
 /* Thread creation, initialization, and basic low-level routines */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <errno.h>
 #include <netdb.h>	/* for h_errno */
 #include <stddef.h>

+ 0 - 2
libpthread/linuxthreads.old/spinlock.c

@@ -14,8 +14,6 @@
 
 /* Internal locks */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <errno.h>
 #include <sched.h>
 #include <time.h>

+ 0 - 2
libpthread/linuxthreads.old/wrapsyscall.c

@@ -18,8 +18,6 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <fcntl.h>
 #include <sys/mman.h>
 #include <pthread.h>

+ 0 - 2
libpthread/linuxthreads.old_db/thread_dbP.h

@@ -2,8 +2,6 @@
 #ifndef _THREAD_DBP_H
 #define _THREAD_DBP_H	1
 
-#define __FORCE_GLIBC
-#include <features.h>
 #include <string.h>
 #include <unistd.h>
 #include "proc_service.h"