From: markus schnalke Date: Wed, 8 Feb 2012 19:18:32 +0000 (+0100) Subject: Removed unnecessary prototypes. X-Git-Tag: mmh-thesis-end~351 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=f91306c3767cfdca47dd84ab865947c9dda9a745;p=mmh Removed unnecessary prototypes. --- diff --git a/h/prototypes.h b/h/prototypes.h index 4d93d9b3..cd282b0f 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -135,14 +135,6 @@ int mh_strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t n); -/* -** some prototypes for address parsing system -** (others are in addrsbr.h) -*/ -char *LocalName(void); -char *SystemName(void); -char *OfficialName(char *); - /* ** prototypes for some routines in uip */ diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index c1e937f0..42742d29 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -72,11 +72,8 @@ static char *note = NULL; static char err[BUFSIZ]; static char adr[BUFSIZ]; - -/* -** external prototypes -*/ -char *getusername(void); +/* static prototype */ +char *OfficialName(char *); char * diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index ef6e8794..797c192a 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -190,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 */ diff --git a/uip/rcvtty.c b/uip/rcvtty.c index ecdbbcfb..86066ed5 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -68,11 +68,6 @@ static int width = 0; static char *form = NULL; static char *format = NULL; -/* -** external prototypes -*/ -char *getusername(void); - /* ** static prototypes */ diff --git a/uip/send.c b/uip/send.c index a79e34fe..2cf97576 100644 --- a/uip/send.c +++ b/uip/send.c @@ -463,7 +463,7 @@ attach(char *draft_file_name) } } if (has_body && non_ascii) { - break; /* that's been already enough information +/ + break; /* that's been already enough information */ } }