FreeBSD port (10): init-first.c

Bruno Haible bruno@clisp.org
Tue Jul 9 06:44:00 GMT 2002


Hi,

The Linux init-first.c is nearly independent of Linux. To make it usable
for other platforms, here is a patch to remove the include of
"kernel-features.h". It doesn't change anything for the Linux port, because
"kernel-features.h" is included by <ldsodefs.h> anyway.


2002-07-06  Bruno Haible  <bruno@clisp.org>

	* sysdeps/unix/sysv/linux/init-first.c: Don't include
	kernel-features.h.

diff -r -c3 glibc-20020627.bak/sysdeps/unix/sysv/linux/init-first.c glibc-20020627/sysdeps/unix/sysv/linux/init-first.c
--- glibc-20020627.bak/sysdeps/unix/sysv/linux/init-first.c	Thu Apr  4 20:12:20 2002
+++ glibc-20020627/sysdeps/unix/sysv/linux/init-first.c	Fri Jul  5 01:18:01 2002
@@ -25,7 +25,6 @@
 #include <fpu_control.h>
 #include <sys/param.h>
 #include <sys/types.h>
-#include "kernel-features.h"
 #include <libc-internal.h>
 
 #include <ldsodefs.h>



More information about the Libc-alpha mailing list