From 99e46354d96d9dc70c7b5ae7ed1a3d7ff0dbb77f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 13 Oct 1998 15:12:27 +0000 Subject: Update. 1998-10-13 Ulrich Drepper * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Include string.h to get memcpy prototype and NULL definition. 1998-10-12 Andreas Schwab * misc/sys/cdefs.h (__THROW): New macro. * argp/argp.h: Use it to replace the kludgey __P in inline function definitions. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * stdlib/stdlib.h: Likewise. * wcsmbs/wchar.h: Likewise. * libio/stdio.h: Likewise. * stdio/stdio.h: Likewise. * sysdeps/wordsize-64/inttypes.h: Likewise. * sysdeps/wordsize-32/inttypes.h: Likewise. * string/argz.h: Likewise. * io/sys/stat.h: Likewise. 1998-10-12 Andreas Schwab * Rules (stdio_lim): New variable. ($(stdio_lim:h=st)): Use this as intermediate stamp file, depend on Rules and config.make, use $(move-if-change) to avoid unnessary recompilations, and cleanup command. (common-generated): Add bits/stdio_lim.st. --- misc/sys/cdefs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 964b9dfeb9..539cbbc09f 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -30,10 +30,11 @@ to help it optimize the function calls. But this works only with gcc 2.8.x and egcs. */ # if defined __cplusplus && __GNUC_MINOR__ >= 8 -# define __P(args) args throw () +# define __THROW throw () # else -# define __P(args) args +# define __THROW # endif +# define __P(args) args __THROW /* This macro will be used for functions which might take C++ callback functions. */ # define __PMT(args) args -- cgit v1.2.3