]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/unix.h
Fix a couple of signedness compiler warnings, presumably due to me
[PuTTY.git] / unix / unix.h
index fd206a9dd0605c88e399aa56425ad1bd5f878b92..90faf5a676fefea95f808fb7e31e69728c29f29d 100644 (file)
@@ -11,7 +11,7 @@
 struct Filename {
     char path[FILENAME_MAX];
 };
-#define f_open(filename, mode) ( fopen((filename).path, (mode)) )
+FILE *f_open(struct Filename, char const *, int);
 
 struct FontSpec {
     char name[256];
@@ -80,7 +80,7 @@ int reallyclose(void *frontend);
 
 /* Things pterm.c needs from {ptermm,uxputty}.c */
 char *make_default_wintitle(char *hostname);
-int process_nonoption_arg(char *arg, Config *cfg);
+int process_nonoption_arg(char *arg, Config *cfg, int *allow_launch);
 
 /* pterm.c needs this special function in xkeysym.c */
 int keysym_to_unicode(int keysym);