#ifndef HAVE_GETPASS_R
+#include "getpass.h"
+
#ifndef WIN32
#ifdef VMS
#include <stdio.h>
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;
#include <unixlib.h>
#endif
+#include "homedir.h"
+
#ifdef CURLDEBUG
#include "../lib/memdebug.h"
#endif
++pos;
}
}
+ /* we never reach this point */
+#if 0
snprintf(globerrormsg, sizeof(globerrormsg), "malformatted pattern");
return GLOB_ERROR;
+#endif
}
static GlobCode glob_range(URLGlob *glob, char *pattern, int pos, int *amount)
fputs(stringp, stream);
break;
default:
+ /* -Wunreachable-code wrongly complains on this */
break;
}
break;