From f91306c3767cfdca47dd84ab865947c9dda9a745 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Wed, 8 Feb 2012 20:18:32 +0100 Subject: [PATCH] Removed unnecessary prototypes. --- h/prototypes.h | 8 -------- sbr/addrsbr.c | 7 ++----- sbr/fmt_compile.c | 5 ----- uip/rcvtty.c | 5 ----- uip/send.c | 2 +- 5 files changed, 3 insertions(+), 24 deletions(-) diff --git a/h/prototypes.h b/h/prototypes.h index 4d93d9b..cd282b0 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -136,14 +136,6 @@ 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 */ int annotate(char *, char *, char *, int, int, int, int); diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index c1e937f..42742d2 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 ef6e879..797c192 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -191,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 *); diff --git a/uip/rcvtty.c b/uip/rcvtty.c index ecdbbcf..86066ed 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -69,11 +69,6 @@ static char *form = NULL; static char *format = NULL; /* -** external prototypes -*/ -char *getusername(void); - -/* ** static prototypes */ static RETSIGTYPE alrmser(int); diff --git a/uip/send.c b/uip/send.c index a79e34f..2cf9757 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 */ } } -- 1.7.10.4