]> git.marmaro.de Git - mmh/blobdiff - sbr/fmt_compile.c
Minor refactoring.
[mmh] / sbr / fmt_compile.c
index bcd7b3d16b649b340fc4176fb7f304927270b449..797c192ad05fedfba1be8365d7b8da236d1b0ca0 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},
 
@@ -191,11 +190,6 @@ static unsigned char *usr_fstring;  /* for CERROR */
 
 #define CERROR(str) compile_error(str, cp)
 
-/*
-** external prototypes
-*/
-extern char *getusername(void);
-
 /*
 ** static prototypes
 */
@@ -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] = '_';
        }