mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43:31 +03:00
make pedantic compiler options generate less warnings
This commit is contained in:
parent
0e4e72f193
commit
0d6236f7e1
4 changed files with 10 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue