diff options
author | Ben Walton <bwalton@artsci.utoronto.ca> | 2012-02-05 23:32:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-02-06 01:32:33 +0100 |
commit | cd4c4e2481dd6fcb7ceb39242fa722993f8c0ab1 (patch) | |
tree | f2b406c6e4715331edf8bcb28dca6d56e5676109 /compat/inet_ntop.c | |
parent | Git 1.7.8 (diff) | |
download | git-cd4c4e2481dd6fcb7ceb39242fa722993f8c0ab1.tar.xz git-cd4c4e2481dd6fcb7ceb39242fa722993f8c0ab1.zip |
Drop system includes from inet_pton/inet_ntop compatibility wrappers
As both of these compatibility wrappers include git-compat-utils.h,
all of the system includes were redundant.
Dropping these system includes also makes git-compat-utils.h the first
include which avoids a compiler warning on Solaris due to the
redefinition of _FILE_OFFSET_BITS.
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/inet_ntop.c')
-rw-r--r-- | compat/inet_ntop.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c index 60b5a1d0f8..90b7cc45f3 100644 --- a/compat/inet_ntop.c +++ b/compat/inet_ntop.c @@ -15,14 +15,8 @@ * SOFTWARE. */ -#include <errno.h> -#include <sys/types.h> - #include "../git-compat-util.h" -#include <stdio.h> -#include <string.h> - #ifndef NS_INADDRSZ #define NS_INADDRSZ 4 #endif |