diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 13:54:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-29 13:54:08 +0000 |
commit | 0d6236f7e10468f75d09796ba9640c9054ab1f04 (patch) | |
tree | fd4b5e265de3a87c520b8dedcc83dde24cf48e71 /src/getpass.c | |
parent | 0e4e72f193a83148df1377611ec7828b110b2715 (diff) | |
download | curl-0d6236f7e10468f75d09796ba9640c9054ab1f04.tar.gz |
make pedantic compiler options generate less warnings
Diffstat (limited to 'src/getpass.c')
-rw-r--r-- | src/getpass.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/getpass.c b/src/getpass.c index 975ce1dde..4743f9a4f 100644 --- a/src/getpass.c +++ b/src/getpass.c @@ -36,6 +36,8 @@ #ifndef HAVE_GETPASS_R +#include "getpass.h" + #ifndef WIN32 #ifdef VMS #include <stdio.h> @@ -101,9 +103,9 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen) FILE *infp; char infp_fclose = 0; FILE *outfp; - RETSIGTYPE (*sigint)(); + RETSIGTYPE (*sigint)(int); #ifdef SIGTSTP - RETSIGTYPE (*sigtstp)(); + RETSIGTYPE (*sigtstp)(int); #endif size_t bytes_read; int infd; |