Turn 'Filename' into a dynamically allocated type with no arbitrary
[u/mdw/putty] / unix / unix.h
index aa44c9b..37649d5 100644 (file)
@@ -13,9 +13,9 @@
 #include "charset.h"
 
 struct Filename {
-    char path[FILENAME_MAX];
+    char *path;
 };
-FILE *f_open(struct Filename, char const *, int);
+FILE *f_open(const struct Filename *, char const *, int);
 
 struct FontSpec {
     char *name;    /* may be "" to indicate no selected font at all */