mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 23:34:55 +02:00
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.
This commit is contained in:
parent
25275f1c9d
commit
b9b8ba3f9e
@ -85,12 +85,10 @@ int rresvport_af(int *alport, sa_family_t af);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRLCPY
|
#ifndef HAVE_STRLCPY
|
||||||
/* #include <sys/types.h> XXX Still needed? */
|
|
||||||
size_t strlcpy(char *dst, const char *src, size_t siz);
|
size_t strlcpy(char *dst, const char *src, size_t siz);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_STRLCAT
|
#ifndef HAVE_STRLCAT
|
||||||
/* #include <sys/types.h> XXX Still needed? */
|
|
||||||
size_t strlcat(char *dst, const char *src, size_t siz);
|
size_t strlcat(char *dst, const char *src, size_t siz);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -156,7 +154,6 @@ void compat_init_setproctitle(int argc, char *argv[]);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_GETGROUPLIST
|
#ifndef HAVE_GETGROUPLIST
|
||||||
/* #include <grp.h> XXXX Still needed ? */
|
|
||||||
int getgrouplist(const char *, gid_t, gid_t *, int *);
|
int getgrouplist(const char *, gid_t, gid_t *, int *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -208,8 +205,6 @@ int asprintf(char **, const char *, ...);
|
|||||||
int openpty(int *, int *, char *, struct termios *, struct winsize *);
|
int openpty(int *, int *, char *, struct termios *, struct winsize *);
|
||||||
#endif /* HAVE_OPENPTY */
|
#endif /* HAVE_OPENPTY */
|
||||||
|
|
||||||
/* #include <sys/types.h> XXX needed? For size_t */
|
|
||||||
|
|
||||||
#ifndef HAVE_SNPRINTF
|
#ifndef HAVE_SNPRINTF
|
||||||
int snprintf(char *, size_t, SNPRINTF_CONST char *, ...);
|
int snprintf(char *, size_t, SNPRINTF_CONST char *, ...);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user