Remove local prototypes for main().

This commit is contained in:
jmallett 2002-08-19 03:07:56 +00:00
parent bd88fce4f3
commit 2b6e4e1504
16 changed files with 0 additions and 20 deletions

View File

@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
int main(int, char *[]);
void usage(void);
int

View File

@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
int main(int, char **);
void usage(void);
int

View File

@ -217,8 +217,6 @@ void pack_array(char **array, int end);
char *expect_strtok(char *, char *);
int vfmtmsg(char *, int, const char *, va_list); /* vsprintf++ */
int main(int, char *[]);
void *dup_mem(b, c)
void *b;
size_t c;

View File

@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
int main(int, char *[]);
void usage(void);
int

View File

@ -100,7 +100,6 @@ void flush_line(LINE *);
void flush_lines(int);
void flush_blanks(void);
void free_line(LINE *);
int main(int, char **);
void usage(void);
CSET last_set; /* char_set of last char printed */

View File

@ -75,7 +75,6 @@ char printall;
FILE *f;
int main(int, char *[]);
static void move(int, int);
static void pflush(int);
static int plus(char, char);

View File

@ -64,7 +64,6 @@ void b_n_cut(FILE *, const char *);
void c_cut(FILE *, const char *);
void f_cut(FILE *, const char *);
void get_list(char *);
int main(int, char **);
void needpos(size_t);
static void usage(void);

View File

@ -29,8 +29,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
int main(int, char **);
int
main(argc, argv)
int argc;

View File

@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <unistd.h>
int main(int, char *[]);
void current(void);
void pline(struct passwd *);
void pretty(struct passwd *);

View File

@ -63,7 +63,6 @@ void For_Run(void);
/* main.c */
void Main_ParseArgLine(char *);
int main(int, char **);
char *Cmd_Exec(char *, char **);
void Error(const char *, ...);
void Fatal(const char *, ...);

View File

@ -154,7 +154,6 @@ jmp_buf tstpbuf;
void ask(const char *);
void gfrsub(FILE *);
int linecnt(FILE *);
int main(int, char *[]);
int next(char *);
char *nxtfld(unsigned char *);
void onsusp(int);

View File

@ -93,7 +93,6 @@ static struct numbering_property numbering_properties[NP_LAST + 1] = {
((sizeof (int) * CHAR_BIT - 1) * 302 / 1000 + 2)
static void filter(void);
int main(int, char *[]);
static void parse_numbering(const char *, int);
static void usage(void);

View File

@ -156,8 +156,6 @@ static char *spaces(int);
static bool_t add_version(struct rpcbdump_short *, u_long);
static bool_t add_netid(struct rpcbdump_short *, char *);
int main(int argc, char **argv);
int
main(int argc, char **argv)
{

View File

@ -64,8 +64,6 @@ static const char copyright[] =
* Fixed to not run with unwriteable terminals MRVM 28/12/94
*/
int main(int, char **);
int
main(argc, argv)
int argc;

View File

@ -58,7 +58,6 @@ static const char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93";
#include <time.h>
#include <unistd.h>
int main(int, char *[]);
int rw(char *, struct stat *, int);
void stime_arg1(char *, struct timeval *);
void stime_arg2(char *, int, struct timeval *);

View File

@ -222,7 +222,6 @@ int findsym(const char *);
void flushline(bool);
int getline(char *, int, FILE *, bool);
Linetype ifeval(const char **);
int main(int, char **);
const char *skipcomment(const char *);
const char *skipquote(const char *, Quote_state);
const char *skipsym(const char *);