From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Fri, 21 May 2004 02:27:03 +0000 Subject: [PATCH] catchup with recent klibc Message-Id: <20040521022703.GA3389@vrfy.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Q68bSM7Ycu6FN28Q" List-Id: To: linux-hotplug@vger.kernel.org --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Our own implementation of the sysinfo system call is no longer needed, cause it's merged it into klibc now. thanks, Kay --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="01-sysinfo-klibc.patch" ===== klibc_fixups.c 1.9 vs edited ===== --- 1.9/klibc_fixups.c Sun Mar 28 01:55:06 2004 +++ edited/klibc_fixups.c Fri May 21 04:12:37 2004 @@ -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) { ===== klibc_fixups.h 1.7 vs edited ===== --- 1.7/klibc_fixups.h Sun Mar 28 03:05:19 2004 +++ edited/klibc_fixups.h Fri May 21 04:17:58 2004 @@ -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 */ ===== namedev.c 1.140 vs edited ===== --- 1.140/namedev.c Sat Apr 17 05:23:25 2004 +++ edited/namedev.c Fri May 21 04:13:15 2004 @@ -32,9 +32,7 @@ #include #include #include -#ifndef __KLIBC__ #include -#endif #include "libsysfs/sysfs/libsysfs.h" #include "list.h" ===== udevd.c 1.31 vs edited ===== --- 1.31/udevd.c Thu Apr 15 06:30:15 2004 +++ edited/udevd.c Fri May 21 04:13:45 2004 @@ -34,9 +34,7 @@ #include #include #include "klibc_fixups.h" -#ifndef __KLIBC__ #include -#endif #include "list.h" #include "udev.h" --Q68bSM7Ycu6FN28Q-- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel