This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix s390{,x} build, 2 warnings


Hi!

Without the first 2 hunks, s390{,x} gets undefined __syscall_error
in librt.so, the latter 2 hunks shut up warning about missing free prototype
on s390*.

2004-04-17  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add
	rt-sysdep.
	* sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file.
nptl/
	* sysdeps/unix/sysv/linux/mq_notify.c: Include stdlib.h.
linuxthreads/
	* sysdeps/unix/sysv/linux/mq_notify.c: Include stdlib.h.

--- libc/sysdeps/unix/sysv/linux/s390/Makefile.jj	2002-10-16 05:02:48.000000000 +0200
+++ libc/sysdeps/unix/sysv/linux/s390/Makefile	2004-04-17 14:21:57.303198483 +0200
@@ -1 +1,4 @@
 64bit-predefine = __s390x__
+ifeq ($(subdir),rt)
+librt-routines += rt-sysdep
+endif
--- libc/sysdeps/unix/sysv/linux/s390/rt-sysdep.S.jj	2004-04-17 14:18:55.142843991 +0200
+++ libc/sysdeps/unix/sysv/linux/s390/rt-sysdep.S	2004-04-17 14:18:47.197267941 +0200
@@ -0,0 +1 @@
+#include <sysdep.S>
--- libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c.jj	2004-04-17 12:14:23.000000000 +0200
+++ libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c	2004-04-17 14:07:46.650646496 +0200
@@ -23,6 +23,7 @@
 #include <mqueue.h>
 #include <pthread.h>
 #include <signal.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sysdep.h>
 #include <unistd.h>
--- libc/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c.jj	2004-04-17 12:14:22.000000000 +0200
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c	2004-04-17 14:08:08.360755762 +0200
@@ -23,6 +23,7 @@
 #include <mqueue.h>
 #include <pthread.h>
 #include <signal.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sysdep.h>
 #include <unistd.h>

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]