From f1c30c98b9c9720f2a542df7ae0b9cde4c162e7a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 2 Sep 2003 07:14:15 +0000 Subject: (CFLAGS-oldtmpfile.c): Add -fexceptions. --- posix/Makefile | 2 ++ posix/unistd.h | 6 +++--- posix/wordexp.h | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'posix') diff --git a/posix/Makefile b/posix/Makefile index c617612..59cc1a6 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -128,6 +128,8 @@ CFLAGS-wait.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-waitid.c = -fexceptions CFLAGS-waitpid.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-getopt.c = -fexceptions +CFLAGS-wordexp.c = -fexceptions +CFLAGS-sysconf.c = -fexceptions tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \ --none random --col --color --colour diff --git a/posix/unistd.h b/posix/unistd.h index 4a7be1c..44a22b1 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -525,13 +525,13 @@ extern void _exit (int __status) __attribute__ ((__noreturn__)); #include /* Get file-specific configuration information about PATH. */ -extern long int pathconf (__const char *__path, int __name) __THROW; +extern long int pathconf (__const char *__path, int __name); /* Get file-specific configuration about descriptor FD. */ -extern long int fpathconf (int __fd, int __name) __THROW; +extern long int fpathconf (int __fd, int __name); /* Get the value of the system variable NAME. */ -extern long int sysconf (int __name) __THROW __attribute__ ((__const__)); +extern long int sysconf (int __name) __attribute__ ((__const__)); #ifdef __USE_POSIX2 /* Get the value of the string-valued system variable NAME. */ diff --git a/posix/wordexp.h b/posix/wordexp.h index 0ce36ec..1c40e61 100644 --- a/posix/wordexp.h +++ b/posix/wordexp.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 96, 97, 98, 99, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 1996-1999, 2001, 2003 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 @@ -61,7 +61,7 @@ enum /* Do word expansion of WORDS into PWORDEXP. */ extern int wordexp (__const char *__restrict __words, - wordexp_t *__restrict __pwordexp, int __flags) __THROW; + wordexp_t *__restrict __pwordexp, int __flags); /* Free the storage allocated by a `wordexp' call. */ extern void wordfree (wordexp_t *__wordexp) __THROW; -- cgit v1.1