From c3db56c4cb2b5eb06cbf46b8fe526f4fe7e10321 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 26 Jan 2012 10:53:37 -0500 Subject: [PATCH] remove useless "extern" keywords in headers --- include/errno.h | 2 +- include/resolv.h | 2 +- include/sys/file.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/errno.h b/include/errno.h index 9d680338..9e1e3202 100644 --- a/include/errno.h +++ b/include/errno.h @@ -10,7 +10,7 @@ extern "C" { #ifdef __GNUC__ __attribute__((const)) #endif -extern int *__errno_location(void); +int *__errno_location(void); #define errno (*__errno_location()) #ifdef __cplusplus diff --git a/include/resolv.h b/include/resolv.h index 3b77fc7b..5bb0832e 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -122,7 +122,7 @@ struct res_sym { #define RES_PRF_REPLY 0x00002000 #define RES_PRF_INIT 0x00004000 -extern struct __res_state *__res_state(void); +struct __res_state *__res_state(void); #define _res (*__res_state()) struct rrec; diff --git a/include/sys/file.h b/include/sys/file.h index 8b2eb01a..adb9dd52 100644 --- a/include/sys/file.h +++ b/include/sys/file.h @@ -11,7 +11,7 @@ extern "C" { #define LOCK_NB 4 #define LOCK_UN 8 -extern int flock(int, int); +int flock(int, int); #endif -- 2.25.1