Removed the mhlproc profile entry. Call mhl directly.
[mmh] / sbr / fmt_compile.c
index bcd7b3d..797c192 100644 (file)
@@ -148,7 +148,6 @@ static struct ftable functable[] = {
        { "friendly",   TF_COMP,    FT_LS_FRIENDLY, FT_PARSEADDR, TFL_PUTS },
 
        { "mymbox",     TF_COMP,    FT_LV_COMPFLAG, FT_MYMBOX, TFL_PUTN },
-       { "addtoseq",   TF_STR,     FT_ADDTOSEQ, 0, 0 },
 
        { "unquote",    TF_EXPR,    FT_LS_UNQUOTE, 0, TFL_PUTS},
 
@@ -192,11 +191,6 @@ static unsigned char *usr_fstring;  /* for CERROR */
 #define CERROR(str) compile_error(str, cp)
 
 /*
-** external prototypes
-*/
-extern char *getusername(void);
-
-/*
 ** static prototypes
 */
 static struct ftable *lookup(char *);
@@ -237,11 +231,7 @@ compile_error(char *str, char *cp)
        usr_fstring[errpos] = '\0';
 
        for (i = errpos-errctx; i < errpos; i++) {
-#ifdef LOCALE
                if (iscntrl(usr_fstring[i]))
-#else
-               if (usr_fstring[i] < 32)
-#endif
                        usr_fstring[i] = '_';
        }