Factor trim format function out
[mmh] / h / fmt_scan.h
index 38e2793..eec967e 100644 (file)
@@ -5,7 +5,7 @@
 /*
 ** This structure describes an "interesting" component.  It holds
 ** the name & text from the component (if found) and one piece of
-** auxilary info.  The structure for a particular component is located
+** auxiliary info.  The structure for a particular component is located
 ** by (open) hashing the name and using it as an index into the ptr array
 ** "wantcomp".  All format entries that reference a particular component
 ** point to its comp struct (so we only have to do component specific
@@ -16,7 +16,7 @@ struct comp {
        char *c_text;         /* component text (if found)      */
        struct comp *c_next;  /* hash chain linkage             */
        short c_flags;        /* misc. flags (from fmt_scan)    */
-       short c_type;         /* type info   (from fmt_compile) */
+       short c_type;         /* type info (from fmt_compile)   */
        union {
                struct tws *c_u_tws;
                struct mailname *c_u_mn;
@@ -88,5 +88,5 @@ struct format {
 ** prototypes
 */
 struct format *fmt_scan(struct format *, char *, int, int *);
-char *new_fs(char *, char *, char *);
 int fmt_compile(char *, struct format **);
+char *formataddr(char *, char *);