diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 22:49:31 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-16 22:49:31 +1100 |
commit | 3c774c52f31b54eccb5a936470d21d196968693b (patch) | |
tree | 83cf29713e72c9099ad5189c61d10d0f7e2b5345 /openbsd-compat/port-aix.h | |
parent | c97b01af62fa73b31a5b0c86c21c3347cdd0874d (diff) | |
download | openssh-git-3c774c52f31b54eccb5a936470d21d196968693b.tar.gz |
- (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Silence some more
compiler warnings on AIX.
Diffstat (limited to 'openbsd-compat/port-aix.h')
-rw-r--r-- | openbsd-compat/port-aix.h | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h index cc7c43cd..a05ce970 100644 --- a/openbsd-compat/port-aix.h +++ b/openbsd-compat/port-aix.h @@ -1,4 +1,4 @@ -/* $Id: port-aix.h,v 1.23 2005/02/15 10:45:58 dtucker Exp $ */ +/* $Id: port-aix.h,v 1.24 2005/02/16 11:49:31 dtucker Exp $ */ /* * @@ -30,6 +30,9 @@ #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> /* for seteuid() */ +#endif #ifdef WITH_AIXAUTHENTICATE # include <login.h> @@ -42,6 +45,26 @@ #include "buffer.h" +/* These should be in the system headers but are not. */ +int usrinfo(int, char *, int); +int setauthdb(const char *, char *); +/* these may or may not be in the headers depending on the version */ +#if (HAVE_DECL_AUTHENTICATE == 0) +int authenticate(char *, char *, int *, char **); +#endif +#if (HAVE_DECL_LOGINFAILED == 0) +int loginfailed(char *, char *, char *); +#endif +#if (HAVE_DECL_LOGINRESTRICTIONS == 0) +int loginrestrictions(char *, int, char *, char **); +#endif +#if (HAVE_DECL_LOGINSUCCESS == 0) +int loginsuccess(char *, char *, char *, char **); +#endif +#if (HAVE_DECL_PASSWDEXPIRED == 0) +int passwdexpired(char *, char **); +#endif + /* Some versions define r_type in the above headers, which causes a conflict */ #ifdef r_type # undef r_type |