From: kay.sievers@vrfy.org Date: Thu, 27 May 2004 02:40:27 +0000 (-0700) Subject: [PATCH] catchup with recent klibc X-Git-Tag: 026~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=84df02dd63bf53acb5a61e9db1da067760b927e9;hp=9e86e12e10ad147d27cb19bc3a6f799f38fd4502 [PATCH] catchup with recent klibc Our own implementation of the sysinfo system call is no longer needed, cause it's merged it into klibc now. --- diff --git a/klibc_fixups.c b/klibc_fixups.c index c4d44bbc4..bbacfbdc7 100644 --- a/klibc_fixups.c +++ b/klibc_fixups.c @@ -37,8 +37,6 @@ #define GR_FILE "/etc/group" #define UTMP_FILE "/var/run/utmp" -_syscall1(int, sysinfo, struct sysinfo *, info); - /* return the id of a passwd style line, selected by the users name */ static unsigned long get_id_by_name(const char *uname, const char *dbfile) { diff --git a/klibc_fixups.h b/klibc_fixups.h index 6dfd5a5c1..f6c91cdd9 100644 --- a/klibc_fixups.h +++ b/klibc_fixups.h @@ -3,11 +3,6 @@ #ifndef KLIBC_FIXUPS_H #define KLIBC_FIXUPS_H -#include -#include - -int sysinfo(struct sysinfo *info); - struct passwd { char *pw_name; /* user name */ char *pw_passwd; /* user password */ diff --git a/namedev.c b/namedev.c index b3a2a8ae4..5e3db1326 100644 --- a/namedev.c +++ b/namedev.c @@ -32,9 +32,7 @@ #include #include #include -#ifndef __KLIBC__ #include -#endif #include "libsysfs/sysfs/libsysfs.h" #include "list.h" diff --git a/udevd.c b/udevd.c index d807e4168..5756b4612 100644 --- a/udevd.c +++ b/udevd.c @@ -34,9 +34,7 @@ #include #include #include "klibc_fixups.h" -#ifndef __KLIBC__ #include -#endif #include "list.h" #include "udev.h"