X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fmf.c;h=633522b804eb72a0c51abfc24111c27b78e801ed;hp=6338a6eff711aa3ad056e43af3e6625a74d1c63b;hb=850059f6637354d31129f303151f9f7d30514c9e;hpb=fdc012cb43b5fc0baa6f4470b47be397bfc3f21b diff --git a/sbr/mf.c b/sbr/mf.c index 6338a6e..633522b 100644 --- a/sbr/mf.c +++ b/sbr/mf.c @@ -10,6 +10,9 @@ #include #include #include +#include +#include +#include /* ** static prototypes @@ -27,7 +30,7 @@ static int my_lex(char *); static char * getcpy(char *s) { - register char *p; + char *p; if (!s) { /* @@ -161,8 +164,8 @@ static struct adrx adrxs2; struct adrx * getadrx(char *addrs) { - register char *bp; - register struct adrx *adrxp = &adrxs2; + char *bp; + struct adrx *adrxp = &adrxs2; if (pers) free(pers); @@ -418,7 +421,7 @@ phrase(char *buffer) static int route_addr(char *buffer) { - register char *pp = cp; + char *pp = cp; if (my_lex(buffer) == LX_AT) { if (route(buffer) == NOTOK) @@ -539,7 +542,7 @@ route(char *buffer) default: sprintf(err, "no at-sign found for next domain in route (%s)", - buffer); + buffer); } break; } @@ -567,8 +570,8 @@ my_lex(char *buffer) { /* buffer should be at least BUFSIZ bytes long */ int i; - register unsigned char c; - register char *bp; + unsigned char c; + char *bp; /* ** Add C to the buffer bp. After use of this macro *bp is guaranteed @@ -708,7 +711,7 @@ char * legal_person(char *p) { int i; - register char *cp; + char *cp; static char buffer[BUFSIZ]; if (*p == '"')