summaryrefslogtreecommitdiff
path: root/zwgc/formatter.h
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-01-21 03:11:44 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-01-21 03:11:44 +0000
commitb6ea75cfc9712b77a0886c4348d6fb519641e40e (patch)
tree65f68bb2db7c6118e80670cd5edc297159f43409 /zwgc/formatter.h
parent71f70d3066d1c038e1794c4ffe804591eda3d1af (diff)
de K&Rify, fix prototypes
Diffstat (limited to 'zwgc/formatter.h')
-rw-r--r--zwgc/formatter.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/zwgc/formatter.h b/zwgc/formatter.h
index 0a76687..d2cf0f0 100644
--- a/zwgc/formatter.h
+++ b/zwgc/formatter.h
@@ -14,6 +14,8 @@
#include <zephyr/mit-copyright.h>
+#include "new_string.h"
+
#ifndef formatter_MODULE
#define formatter_MODULE
@@ -32,7 +34,10 @@ typedef struct _desctype {
ENV, STR, END. Undefined for EOF */
} desctype;
-extern desctype *disp_get_cmds();
-extern void free_desc();
+extern desctype *disp_get_cmds(char *, int *, int *);
+extern void free_desc(desctype *);
+extern string protect(string);
+extern string verbatim(string, int);
+extern string stylestrip(string);
#endif