Factor trim format function out
[mmh] / uip / mhparse.c
index c250675..da19123 100644 (file)
@@ -251,7 +251,6 @@ get_content(FILE *in, char *file, int toplevel)
        for (compnum = 1, state = FLD2;;) {
                switch (state = m_getfld2(state, &f, in)) {
                case LENERR2:
-                       advise(NULL, "To long field");
                        state = FLD2;
                        /* FALL */
                case FLD2:
@@ -551,7 +550,7 @@ incl_name_value(unsigned char *buf, char *name, char *value) {
 ** one, return the entire value.  Note that, for example, a name_suffix
 ** of name will match filename="foo", and return foo.
 */
-static char *
+char *
 extract_name_value(char *name_suffix, char *value) {
        char *extracted_name_value = value;
        char *name_suffix_plus_quote = concat(name_suffix, "=\"", NULL);