This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
FreeBSD port (10): init-first.c
- From: Bruno Haible <bruno at clisp dot org>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 9 Jul 2002 15:46:07 +0200 (CEST)
- Subject: FreeBSD port (10): init-first.c
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>