diff options
Diffstat (limited to 'usr/src/lib/libc/port/gen/strsignal.c')
| -rw-r--r-- | usr/src/lib/libc/port/gen/strsignal.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/usr/src/lib/libc/port/gen/strsignal.c b/usr/src/lib/libc/port/gen/strsignal.c index 5295a4197b..db148c881d 100644 --- a/usr/src/lib/libc/port/gen/strsignal.c +++ b/usr/src/lib/libc/port/gen/strsignal.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,16 +18,15 @@ * * CDDL HEADER END */ + /* - * Copyright 2004 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" -#pragma weak strsignal = _strsignal - -#include "synonyms.h" +#include "lint.h" #include "_libc_gettext.h" #include <string.h> #include <stddef.h> @@ -38,7 +36,7 @@ extern const char **_sys_siglistp; extern const int _sys_siglistn; char * -_strsignal(int signum) +strsignal(int signum) { if (signum < _sys_siglistn && signum >= 0) return (_libc_gettext((char *)_sys_siglistp[signum])); |
