]> diplodocus.org Git - nmh/blobdiff - h/prototypes.h
Replace getcpy() with mh_xstrdup() where the string isn't NULL.
[nmh] / h / prototypes.h
index a6c412e..f06322b 100644 (file)
@@ -167,7 +167,9 @@ char **getarguments (char *, int, char **, int);
  */
 char *get_charset(void);
 
-char *getcpy (const char *);
+/* Return malloc'd copy of str, or of "" if NULL, exit on failure. */
+char *getcpy(const char *str);
+
 char *get_default_editor(void);
 char *getfolder(int);