Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include Remove 'extern' from function declarations.
details: https://anonhg.NetBSD.org/src/rev/312905590e74
branches: trunk
changeset: 487806:312905590e74
user: simonb <simonb%NetBSD.org@localhost>
date: Tue Jun 13 01:21:52 2000 +0000
description:
Remove 'extern' from function declarations.
diffstat:
include/ctype.h | 38 ++++----
include/dlfcn.h | 14 +-
include/errno.h | 4 +-
include/ieeefp.h | 14 +-
include/ifaddrs.h | 6 +-
include/math.h | 224 ++++++++++++++++++++++++++--------------------------
include/nsswitch.h | 20 ++--
include/search.h | 38 ++++----
8 files changed, 179 insertions(+), 179 deletions(-)
diffs (truncated from 550 to 300 lines):
diff -r dbaaa11908dc -r 312905590e74 include/ctype.h
--- a/include/ctype.h Tue Jun 13 01:08:43 2000 +0000
+++ b/include/ctype.h Tue Jun 13 01:21:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ctype.h,v 1.17 1998/05/10 16:57:51 kleink Exp $ */
+/* $NetBSD: ctype.h,v 1.18 2000/06/13 01:21:52 simonb Exp $ */
/*
* Copyright (c) 1989 The Regents of the University of California.
@@ -62,31 +62,31 @@
__BEGIN_DECLS
-extern int isalnum __P ((int));
-extern int isalpha __P ((int));
-extern int iscntrl __P ((int));
-extern int isdigit __P ((int));
-extern int isgraph __P ((int));
-extern int islower __P ((int));
-extern int isprint __P ((int));
-extern int ispunct __P ((int));
-extern int isspace __P ((int));
-extern int isupper __P ((int));
-extern int isxdigit __P ((int));
-extern int tolower __P ((int));
-extern int toupper __P ((int));
+int isalnum __P ((int));
+int isalpha __P ((int));
+int iscntrl __P ((int));
+int isdigit __P ((int));
+int isgraph __P ((int));
+int islower __P ((int));
+int isprint __P ((int));
+int ispunct __P ((int));
+int isspace __P ((int));
+int isupper __P ((int));
+int isxdigit __P ((int));
+int tolower __P ((int));
+int toupper __P ((int));
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) || \
defined(_XOPEN_SOURCE)
-extern int isascii __P ((int));
-extern int toascii __P ((int));
-extern int _tolower __P ((int));
-extern int _toupper __P ((int));
+int isascii __P ((int));
+int toascii __P ((int));
+int _tolower __P ((int));
+int _toupper __P ((int));
#endif
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
!defined(_XOPEN_SOURCE)
-extern int isblank __P ((int));
+int isblank __P ((int));
#endif
__END_DECLS
diff -r dbaaa11908dc -r 312905590e74 include/dlfcn.h
--- a/include/dlfcn.h Tue Jun 13 01:08:43 2000 +0000
+++ b/include/dlfcn.h Tue Jun 13 01:21:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dlfcn.h,v 1.12 2000/02/11 00:07:14 thorpej Exp $ */
+/* $NetBSD: dlfcn.h,v 1.13 2000/06/13 01:21:53 simonb Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -54,14 +54,14 @@
* User interface to the run-time linker.
*/
__BEGIN_DECLS
-extern void *dlopen __P((const char *, int));
-extern int dlclose __P((void *));
-extern void *dlsym __P((void *, const char *));
+void *dlopen __P((const char *, int));
+int dlclose __P((void *));
+void *dlsym __P((void *, const char *));
#if !defined(_XOPEN_SOURCE)
-extern int dladdr __P((const void *, Dl_info *));
-extern int dlctl __P((void *, int, void *));
+int dladdr __P((const void *, Dl_info *));
+int dlctl __P((void *, int, void *));
#endif
-extern __aconst char *dlerror __P((void));
+__aconst char *dlerror __P((void));
__END_DECLS
/* Values for dlopen `mode'. */
diff -r dbaaa11908dc -r 312905590e74 include/errno.h
--- a/include/errno.h Tue Jun 13 01:08:43 2000 +0000
+++ b/include/errno.h Tue Jun 13 01:21:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: errno.h,v 1.2 2000/01/21 17:11:20 mycroft Exp $ */
+/* $NetBSD: errno.h,v 1.3 2000/06/13 01:21:53 simonb Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -48,7 +48,7 @@
#include <sys/featuretest.h>
__BEGIN_DECLS
-extern int *__errno __P((void));
+int *__errno __P((void));
#define errno (*__errno())
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
diff -r dbaaa11908dc -r 312905590e74 include/ieeefp.h
--- a/include/ieeefp.h Tue Jun 13 01:08:43 2000 +0000
+++ b/include/ieeefp.h Tue Jun 13 01:21:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ieeefp.h,v 1.4 1998/01/09 08:03:43 perry Exp $ */
+/* $NetBSD: ieeefp.h,v 1.5 2000/06/13 01:21:53 simonb Exp $ */
/*
* Written by J.T. Conklin, Apr 6, 1995
@@ -11,11 +11,11 @@
#include <sys/cdefs.h>
#include <machine/ieeefp.h>
-extern fp_rnd fpgetround __P((void));
-extern fp_rnd fpsetround __P((fp_rnd));
-extern fp_except fpgetmask __P((void));
-extern fp_except fpsetmask __P((fp_except));
-extern fp_except fpgetsticky __P((void));
-extern fp_except fpsetsticky __P((fp_except));
+fp_rnd fpgetround __P((void));
+fp_rnd fpsetround __P((fp_rnd));
+fp_except fpgetmask __P((void));
+fp_except fpsetmask __P((fp_except));
+fp_except fpgetsticky __P((void));
+fp_except fpsetsticky __P((fp_except));
#endif /* _IEEEFP_H_ */
diff -r dbaaa11908dc -r 312905590e74 include/ifaddrs.h
--- a/include/ifaddrs.h Tue Jun 13 01:08:43 2000 +0000
+++ b/include/ifaddrs.h Tue Jun 13 01:21:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ifaddrs.h,v 1.3 2000/03/02 18:29:01 kleink Exp $ */
+/* $NetBSD: ifaddrs.h,v 1.4 2000/06/13 01:21:53 simonb Exp $ */
/*
* Copyright (c) 1995, 1999
@@ -49,8 +49,8 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-extern int getifaddrs __P((struct ifaddrs **));
-extern void freeifaddrs __P((struct ifaddrs *));
+int getifaddrs __P((struct ifaddrs **));
+void freeifaddrs __P((struct ifaddrs *));
__END_DECLS
#endif /* !_IFADDRS_H_ */
diff -r dbaaa11908dc -r 312905590e74 include/math.h
--- a/include/math.h Tue Jun 13 01:08:43 2000 +0000
+++ b/include/math.h Tue Jun 13 01:21:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: math.h,v 1.21 2000/01/04 14:20:05 kleink Exp $ */
+/* $NetBSD: math.h,v 1.22 2000/06/13 01:21:53 simonb Exp $ */
/*
* ====================================================
@@ -104,87 +104,87 @@
/*
* ANSI/POSIX
*/
-extern double acos __P((double));
-extern double asin __P((double));
-extern double atan __P((double));
-extern double atan2 __P((double, double));
-extern double cos __P((double));
-extern double sin __P((double));
-extern double tan __P((double));
+double acos __P((double));
+double asin __P((double));
+double atan __P((double));
+double atan2 __P((double, double));
+double cos __P((double));
+double sin __P((double));
+double tan __P((double));
-extern double cosh __P((double));
-extern double sinh __P((double));
-extern double tanh __P((double));
+double cosh __P((double));
+double sinh __P((double));
+double tanh __P((double));
-extern double exp __P((double));
-extern double frexp __P((double, int *));
-extern double ldexp __P((double, int));
-extern double log __P((double));
-extern double log10 __P((double));
-extern double modf __P((double, double *));
+double exp __P((double));
+double frexp __P((double, int *));
+double ldexp __P((double, int));
+double log __P((double));
+double log10 __P((double));
+double modf __P((double, double *));
-extern double pow __P((double, double));
-extern double sqrt __P((double));
+double pow __P((double, double));
+double sqrt __P((double));
-extern double ceil __P((double));
-extern double fabs __P((double));
-extern double floor __P((double));
-extern double fmod __P((double, double));
+double ceil __P((double));
+double fabs __P((double));
+double floor __P((double));
+double fmod __P((double, double));
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) || \
defined(_XOPEN_SOURCE)
-extern double erf __P((double));
-extern double erfc __P((double));
-extern double gamma __P((double));
-extern double hypot __P((double, double));
-extern int isnan __P((double));
-extern int finite __P((double));
-extern double j0 __P((double));
-extern double j1 __P((double));
-extern double jn __P((int, double));
-extern double lgamma __P((double));
-extern double y0 __P((double));
-extern double y1 __P((double));
-extern double yn __P((int, double));
+double erf __P((double));
+double erfc __P((double));
+double gamma __P((double));
+double hypot __P((double, double));
+int isnan __P((double));
+int finite __P((double));
+double j0 __P((double));
+double j1 __P((double));
+double jn __P((int, double));
+double lgamma __P((double));
+double y0 __P((double));
+double y1 __P((double));
+double yn __P((int, double));
#if !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 500
-extern double acosh __P((double));
-extern double asinh __P((double));
-extern double atanh __P((double));
-extern double cbrt __P((double));
-extern double expm1 __P((double));
-extern int ilogb __P((double));
-extern double log1p __P((double));
-extern double logb __P((double));
-extern double nextafter __P((double, double));
-extern double remainder __P((double, double));
-extern double rint __P((double));
-extern double scalb __P((double, double));
+double acosh __P((double));
+double asinh __P((double));
+double atanh __P((double));
+double cbrt __P((double));
+double expm1 __P((double));
+int ilogb __P((double));
+double log1p __P((double));
+double logb __P((double));
+double nextafter __P((double, double));
+double remainder __P((double, double));
+double rint __P((double));
+double scalb __P((double, double));
#endif /* !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE - 0) >= 500 */
#endif /* !_ANSI_SOURCE) && !_POSIX_C_SOURCE || _XOPEN_SOURCE */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \
!defined(_XOPEN_SOURCE)
#ifndef __cplusplus
-extern int matherr __P((struct exception *));
+int matherr __P((struct exception *));
#endif
/*
* IEEE Test Vector
*/
-extern double significand __P((double));
+double significand __P((double));
/*
* Functions callable from C, intended to support IEEE arithmetic.
*/
-extern double copysign __P((double, double));
-extern double scalbn __P((double, int));
+double copysign __P((double, double));
+double scalbn __P((double, int));
/*
* BSD math library entry points
*/
-extern double cabs __P((/* struct complex { double r; double i; } */));
-extern double drem __P((double, double));
+double cabs __P((/* struct complex { double r; double i; } */));
Home |
Main Index |
Thread Index |
Old Index