Fix a whole lot more stray prototypes.

This commit is contained in:
David Given 2016-11-24 21:47:40 +01:00
parent b8a2935f2b
commit 3e69d1185a
9 changed files with 4 additions and 17 deletions

View file

@ -37,7 +37,6 @@
extern char *bts2str(); extern char *bts2str();
extern char *symbol2str(); extern char *symbol2str();
extern char *strchr();
int stat_number = 9999; /* static scope number */ int stat_number = 9999; /* static scope number */
struct outdef OutDef; struct outdef OutDef;

View file

@ -24,7 +24,6 @@
extern struct idf *GetIdentifier(); extern struct idf *GetIdentifier();
extern int InputLevel; extern int InputLevel;
struct repl *ReplaceList; /* list of currently active macros */ struct repl *ReplaceList; /* list of currently active macros */
extern char *strcat(), *strcpy();
void macro2buffer(); void macro2buffer();
void getactuals(); void getactuals();

View file

@ -30,7 +30,6 @@ int LexSave = 0; /* last character read by GetChar */
extern int InputLevel; /* # of current macro expansions */ extern int InputLevel; /* # of current macro expansions */
extern char *string_token(); extern char *string_token();
extern char *strcpy();
extern arith char_constant(); extern arith char_constant();
#define FLG_ESEEN 0x01 /* possibly a floating point number */ #define FLG_ESEEN 0x01 /* possibly a floating point number */
#define FLG_DOTSEEN 0x02 /* certainly a floating point number */ #define FLG_DOTSEEN 0x02 /* certainly a floating point number */

View file

@ -21,8 +21,6 @@
#include "replace.h" #include "replace.h"
extern char *GetIdentifier(); extern char *GetIdentifier();
extern char *strcpy();
extern char *strcat();
extern int InputLevel; extern int InputLevel;
struct repl *ReplaceList; /* list of currently active macros */ struct repl *ReplaceList; /* list of currently active macros */

View file

@ -11,6 +11,7 @@
/* $Id$ */ /* $Id$ */
#include <string.h>
#include <alloc.h> #include <alloc.h>
#include "input.h" #include "input.h"
@ -27,8 +28,6 @@ int nDEF, mDEF;
struct file_list *CurrentArg; struct file_list *CurrentArg;
extern int err_occurred; extern int err_occurred;
extern int Roption; extern int Roption;
extern char *strrchr();
extern char *strcpy(), *strcat();
char * char *
basename(s) basename(s)

View file

@ -10,6 +10,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <em_path.h> #include <em_path.h>
#include <alloc.h> #include <alloc.h>
#include "insert.h" #include "insert.h"
@ -134,8 +135,6 @@ C_findpart(part)
return p; return p;
} }
extern char *strcpy(), *strcat(), *mktemp();
static static
swttmp() swttmp()
{ {

View file

@ -58,10 +58,6 @@ static const struct
#define MAXARGS 1024 /* mar # of args */ #define MAXARGS 1024 /* mar # of args */
#define NTEMPS 4 /* # of temporary files; not tunable */ #define NTEMPS 4 /* # of temporary files; not tunable */
extern char* mktemp();
extern char* strcpy(), *strcat();
extern char* strrchr();
static char ddump[128] = TMP_DIR; /* data label dump file */ static char ddump[128] = TMP_DIR; /* data label dump file */
static char pdump[128] = TMP_DIR; /* procedure name dump file */ static char pdump[128] = TMP_DIR; /* procedure name dump file */
static char tmpbufs[NTEMPS * 2][128] = { static char tmpbufs[NTEMPS * 2][128] = {

View file

@ -26,8 +26,6 @@ prc_p prochash[NPROCHASH];
num_p numhash[NNUMHASH]; num_p numhash[NNUMHASH];
char *lastname; char *lastname;
extern char *strcpy();
#define newsym() (sym_p) newstruct(sym) #define newsym() (sym_p) newstruct(sym)
#define newprc() (prc_p) newstruct(prc) #define newprc() (prc_p) newstruct(prc)
#define newnum() (num_p) newstruct(num) #define newnum() (num_p) newstruct(num)

View file

@ -10,7 +10,9 @@ static char rcsid[] = "$Id$";
* led - linkage editor for ACK assemblers output format * led - linkage editor for ACK assemblers output format
*/ */
#include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <out.h> #include <out.h>
#include "const.h" #include "const.h"
#include "debug.h" #include "debug.h"
@ -124,8 +126,6 @@ first_pass(argv)
register char *argp; register char *argp;
int sectno; int sectno;
int h; int h;
extern int atoi();
extern char *strchr();
extern int hash(); extern int hash();
extern struct outname *searchname(); extern struct outname *searchname();