diff options
author | bde <bde@FreeBSD.org> | 1996-09-14 03:00:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-14 03:00:32 +0000 |
commit | 6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84 (patch) | |
tree | 137a895b2bbf552ac725382b58bbcd9900e55b7a /lib/libc/locale/collate.c | |
parent | 7a2a97d77da0ec8209bd2d8424f56c95a4f837ea (diff) | |
download | FreeBSD-src-6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84.zip FreeBSD-src-6ed5ccfb8ff780ada625c4ebc1c40ad5d6395e84.tar.gz |
Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
Diffstat (limited to 'lib/libc/locale/collate.c')
-rw-r--r-- | lib/libc/locale/collate.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/locale/collate.c b/lib/libc/locale/collate.c index ef73cef..20adda3 100644 --- a/lib/libc/locale/collate.c +++ b/lib/libc/locale/collate.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: collate.c,v 1.4 1995/05/30 05:40:40 rgrimes Exp $ + * $Id: collate.c,v 1.5 1995/10/23 20:08:24 ache Exp $ */ #include <rune.h> @@ -52,7 +52,7 @@ struct __collate_st_chain_pri __collate_chain_pri_table[TABLE_SIZE]; } \ } while(0) -__dead void __collate_err(int ex, const char *f) __dead2; +void __collate_err(int ex, const char *f) __dead2; int __collate_load_tables(encoding) @@ -163,7 +163,8 @@ __collate_strdup(s) return t; } -__dead void __collate_err(int ex, const char *f) +void +__collate_err(int ex, const char *f) { extern char *__progname; /* Program name, from crt0. */ const char *s; |