This is the mail archive of the libc-hacker@sourceware.cygnus.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] |
signals.c:71: warning: `union k_sigcontext' declared inside parameter list signals.c:71: warning: its scope is only this definition or declaration, which is probably not what you want. signals.c:71: warning: parameter has incomplete type signals.c:75: warning: `union k_sigcontext' declared inside parameter list signals.c:76: parameter `ctx' has incomplete type signals.c: In function `pthread_sighandler': signals.c:91: type of formal parameter 5 is incomplete Tne union k_sigcontext is not defined as bits/armsigctx.h is never included. A patch to fix it is attached. Scott 1999-08-31 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: enclose header in an #ifdef statement to prevent it from being included twice * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: #include <bits/armsigctx.h>
diff -uwr glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h --- glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h Fri Oct 23 09:42:01 1998 +++ glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/bits/armsigctx.h Wed Sep 1 16:55:43 1999 @@ -21,6 +21,9 @@ Fortunately 2.0 puts a magic number in the first word and this is not a legal value for `trap_no', so we can tell them apart. */ +#ifndef __ARMSIGCTX_H +#define __ARMSIGCTX_H + #include <asm/ptrace.h> union k_sigcontext @@ -59,3 +62,5 @@ }; #define SIGCONTEXT_2_0_MAGIC 0x4B534154 + +#endif diff -uwr glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h --- glibc-2.1.2pre3/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h Wed Sep 1 16:59:41 1999 +++ glibc-2.1.2pre3.new/sysdeps/unix/sysv/linux/arm/sigcontextinfo.h Wed Sep 1 04:21:49 1999 @@ -17,6 +17,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#include <bits/armsigctx.h> + #define SIGCONTEXT int _a2, int _a3, int _a4, union k_sigcontext #define SIGCONTEXT_EXTRA_ARGS _a2, _a3, _a4,
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |