Skip to content

Commit

Permalink
Remove commented-out includes.
Browse files Browse the repository at this point in the history
These commented-out includes have "Still needed?" comments.  Since
they've been commented out for ~13 years I assert that they're not.
  • Loading branch information
daztucker committed Dec 13, 2016
1 parent 25275f1 commit b9b8ba3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions openbsd-compat/openbsd-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,10 @@ int rresvport_af(int *alport, sa_family_t af);
#endif

#ifndef HAVE_STRLCPY
/* #include <sys/types.h> XXX Still needed? */
size_t strlcpy(char *dst, const char *src, size_t siz);
#endif

#ifndef HAVE_STRLCAT
/* #include <sys/types.h> XXX Still needed? */
size_t strlcat(char *dst, const char *src, size_t siz);
#endif

Expand Down Expand Up @@ -156,7 +154,6 @@ void compat_init_setproctitle(int argc, char *argv[]);
#endif

#ifndef HAVE_GETGROUPLIST
/* #include <grp.h> XXXX Still needed ? */
int getgrouplist(const char *, gid_t, gid_t *, int *);
#endif

Expand Down Expand Up @@ -208,8 +205,6 @@ int asprintf(char **, const char *, ...);
int openpty(int *, int *, char *, struct termios *, struct winsize *);
#endif /* HAVE_OPENPTY */

/* #include <sys/types.h> XXX needed? For size_t */

#ifndef HAVE_SNPRINTF
int snprintf(char *, size_t, SNPRINTF_CONST char *, ...);
#endif
Expand Down

0 comments on commit b9b8ba3

Please sign in to comment.