diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-12-13 12:56:40 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-12-13 12:56:40 +1100 |
commit | b9b8ba3f9ed92c6220b58d70d1e6d8aa3eea1104 (patch) | |
tree | b5393b81d9b0c9a3b8eec946eda9307481235377 | |
parent | 25275f1c9d5f01a0877d39444e8f90521a598ea0 (diff) |
Remove commented-out includes.
These commented-out includes have "Still needed?" comments. Since
they've been commented out for ~13 years I assert that they're not.
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index f02dec63e..cff547745 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -85,12 +85,10 @@ int rresvport_af(int *alport, sa_family_t af); | |||
85 | #endif | 85 | #endif |
86 | 86 | ||
87 | #ifndef HAVE_STRLCPY | 87 | #ifndef HAVE_STRLCPY |
88 | /* #include <sys/types.h> XXX Still needed? */ | ||
89 | size_t strlcpy(char *dst, const char *src, size_t siz); | 88 | size_t strlcpy(char *dst, const char *src, size_t siz); |
90 | #endif | 89 | #endif |
91 | 90 | ||
92 | #ifndef HAVE_STRLCAT | 91 | #ifndef HAVE_STRLCAT |
93 | /* #include <sys/types.h> XXX Still needed? */ | ||
94 | size_t strlcat(char *dst, const char *src, size_t siz); | 92 | size_t strlcat(char *dst, const char *src, size_t siz); |
95 | #endif | 93 | #endif |
96 | 94 | ||
@@ -156,7 +154,6 @@ void compat_init_setproctitle(int argc, char *argv[]); | |||
156 | #endif | 154 | #endif |
157 | 155 | ||
158 | #ifndef HAVE_GETGROUPLIST | 156 | #ifndef HAVE_GETGROUPLIST |
159 | /* #include <grp.h> XXXX Still needed ? */ | ||
160 | int getgrouplist(const char *, gid_t, gid_t *, int *); | 157 | int getgrouplist(const char *, gid_t, gid_t *, int *); |
161 | #endif | 158 | #endif |
162 | 159 | ||
@@ -208,8 +205,6 @@ int asprintf(char **, const char *, ...); | |||
208 | int openpty(int *, int *, char *, struct termios *, struct winsize *); | 205 | int openpty(int *, int *, char *, struct termios *, struct winsize *); |
209 | #endif /* HAVE_OPENPTY */ | 206 | #endif /* HAVE_OPENPTY */ |
210 | 207 | ||
211 | /* #include <sys/types.h> XXX needed? For size_t */ | ||
212 | |||
213 | #ifndef HAVE_SNPRINTF | 208 | #ifndef HAVE_SNPRINTF |
214 | int snprintf(char *, size_t, SNPRINTF_CONST char *, ...); | 209 | int snprintf(char *, size_t, SNPRINTF_CONST char *, ...); |
215 | #endif | 210 | #endif |