From: Ralph Corderoy Date: Thu, 2 Nov 2017 02:21:55 +0000 (+0000) Subject: prototypes.h: Delete duplicate prototypes. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/5a9a8b79e8fd4aaaada9cc2f5629477e1e0b2780?ds=inline;hp=4e5acdb9a2894eca56cb7ffa022635b9af35acef prototypes.h: Delete duplicate prototypes. Those that already appear in other header files. --- diff --git a/h/prototypes.h b/h/prototypes.h index b56a6e27..f4fb375c 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -181,7 +181,6 @@ void m_unknown(m_getfld_state_t *, FILE *); void m_unknown2(m_getfld_state_t *); char *nmh_getpass(const char *); -char *new_fs (char *, char *, char *); char *path(char *, int); int pidwait (pid_t, int); int pidstatus (int, FILE *, char *); @@ -297,20 +296,12 @@ int vfgets (FILE *, char **); char *write_charset_8bit (void); -/* - * some prototypes for address parsing system - * (others are in addrsbr.h) - */ -char *LocalName(int); -char *SystemName(void); - /* * prototypes for some routines in uip */ int annotate (char *, char *, char *, bool, bool, int, bool); void annolist(char *, char *, char *, int); void annopreserve(int); -void m_pclose(void); int mhl(int, char **); int mhlsbr(int, char **, FILE *(*)(char *)); int distout (char *, char *, char *); diff --git a/sbr/message_id.c b/sbr/message_id.c index ab697044..0075ca80 100644 --- a/sbr/message_id.c +++ b/sbr/message_id.c @@ -7,6 +7,7 @@ */ #include +#include "h/mts.h" #include "m_rand.h" #include "message_id.h" #include /* for gettimeofday() */ diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 0e6944ec..5f3dd430 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "h/done.h"