]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - misc.h
Replace quaint references to floppies with "USB stick".
[PuTTY.git] / misc.h
diff --git a/misc.h b/misc.h
index eff4a5e1eafb1b80208d3203a794136ee2becd5e..d6a80bf0e74e5d400b272abfcdbd67b97392f5b4 100644 (file)
--- a/misc.h
+++ b/misc.h
@@ -24,9 +24,18 @@ typedef struct FontSpec FontSpec;
 unsigned long parse_blocksize(const char *bs);
 char ctrlparse(char *s, char **next);
 
+size_t host_strcspn(const char *s, const char *set);
+char *host_strchr(const char *s, int c);
+char *host_strrchr(const char *s, int c);
+char *host_strduptrim(const char *s);
+
 char *dupstr(const char *s);
 char *dupcat(const char *s1, ...);
-char *dupprintf(const char *fmt, ...);
+char *dupprintf(const char *fmt, ...)
+#ifdef __GNUC__
+    __attribute__ ((format (printf, 1, 2)))
+#endif
+    ;
 char *dupvprintf(const char *fmt, va_list ap);
 void burnstr(char *string);