X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffmt_compile.c;h=797c192ad05fedfba1be8365d7b8da236d1b0ca0;hb=cde17f8d38bf9306df4706ac2acb528a2a686a29;hp=bcd7b3d16b649b340fc4176fb7f304927270b449;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index bcd7b3d..797c192 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -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] = '_'; }