summaryrefslogtreecommitdiff
path: root/openbsd-compat/openbsd-compat.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-12-13 12:56:40 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-12-13 12:56:40 +1100
commitb9b8ba3f9ed92c6220b58d70d1e6d8aa3eea1104 (patch)
treeb5393b81d9b0c9a3b8eec946eda9307481235377 /openbsd-compat/openbsd-compat.h
parent25275f1c9d5f01a0877d39444e8f90521a598ea0 (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.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r--openbsd-compat/openbsd-compat.h5
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? */
89size_t strlcpy(char *dst, const char *src, size_t siz); 88size_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? */
94size_t strlcat(char *dst, const char *src, size_t siz); 92size_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 ? */
160int getgrouplist(const char *, gid_t, gid_t *, int *); 157int getgrouplist(const char *, gid_t, gid_t *, int *);
161#endif 158#endif
162 159
@@ -208,8 +205,6 @@ int asprintf(char **, const char *, ...);
208int openpty(int *, int *, char *, struct termios *, struct winsize *); 205int 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
214int snprintf(char *, size_t, SNPRINTF_CONST char *, ...); 209int snprintf(char *, size_t, SNPRINTF_CONST char *, ...);
215#endif 210#endif