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] Warning removal


Hi!

In file included from ../nptl/sysdeps/unix/sysv/linux/jmp-unwind.c:22:
../nptl/sysdeps/pthread/pthread-functions.h:97: warning: "struct xid_command" declared inside parameter list
../nptl/sysdeps/pthread/pthread-functions.h:97: warning: its scope is only this definition or declaration, which is probably not what you want

2004-10-06  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/jmp-unwind.c: Include pthreadP.h instead
	of pthread-functions.h and pthreaddef.h.
	* sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.

--- libc/nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c.jj	2003-07-31 21:13:08.000000000 +0200
+++ libc/nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c	2004-10-06 11:22:57.163080123 +0200
@@ -1,5 +1,5 @@
 /* Clean up stack frames unwound by longjmp.  Linux/s390 version.
-   Copyright (C) 2003 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,8 +19,7 @@
 
 #include <setjmp.h>
 #include <stddef.h>
-#include <pthread-functions.h>
-#include <pthreaddef.h>
+#include <pthreadP.h>
 
 extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe);
 #pragma weak __pthread_cleanup_upto
--- libc/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c.jj	2003-03-15 10:50:11.000000000 +0100
+++ libc/nptl/sysdeps/unix/sysv/linux/jmp-unwind.c	2004-10-06 11:20:11.786370227 +0200
@@ -19,8 +19,7 @@
 
 #include <setjmp.h>
 #include <stddef.h>
-#include <pthread-functions.h>
-#include <pthreaddef.h>
+#include <pthreadP.h>
 
 extern void __pthread_cleanup_upto (__jmp_buf env, char *targetframe);
 #pragma weak __pthread_cleanup_upto

	Jakub


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