Remove local prototypes for main().
This commit is contained in:
parent
4a0193d39e
commit
3a7fc8ce59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102084
@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
void usage(void);
|
void usage(void);
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main(int, char **);
|
|
||||||
void usage(void);
|
void usage(void);
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -217,8 +217,6 @@ void pack_array(char **array, int end);
|
|||||||
char *expect_strtok(char *, char *);
|
char *expect_strtok(char *, char *);
|
||||||
int vfmtmsg(char *, int, const char *, va_list); /* vsprintf++ */
|
int vfmtmsg(char *, int, const char *, va_list); /* vsprintf++ */
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
|
|
||||||
void *dup_mem(b, c)
|
void *dup_mem(b, c)
|
||||||
void *b;
|
void *b;
|
||||||
size_t c;
|
size_t c;
|
||||||
|
@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
void usage(void);
|
void usage(void);
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -100,7 +100,6 @@ void flush_line(LINE *);
|
|||||||
void flush_lines(int);
|
void flush_lines(int);
|
||||||
void flush_blanks(void);
|
void flush_blanks(void);
|
||||||
void free_line(LINE *);
|
void free_line(LINE *);
|
||||||
int main(int, char **);
|
|
||||||
void usage(void);
|
void usage(void);
|
||||||
|
|
||||||
CSET last_set; /* char_set of last char printed */
|
CSET last_set; /* char_set of last char printed */
|
||||||
|
@ -75,7 +75,6 @@ char printall;
|
|||||||
|
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
static void move(int, int);
|
static void move(int, int);
|
||||||
static void pflush(int);
|
static void pflush(int);
|
||||||
static int plus(char, char);
|
static int plus(char, char);
|
||||||
|
@ -64,7 +64,6 @@ void b_n_cut(FILE *, const char *);
|
|||||||
void c_cut(FILE *, const char *);
|
void c_cut(FILE *, const char *);
|
||||||
void f_cut(FILE *, const char *);
|
void f_cut(FILE *, const char *);
|
||||||
void get_list(char *);
|
void get_list(char *);
|
||||||
int main(int, char **);
|
|
||||||
void needpos(size_t);
|
void needpos(size_t);
|
||||||
static void usage(void);
|
static void usage(void);
|
||||||
|
|
||||||
|
@ -29,8 +29,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main(int, char **);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
|
@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
void current(void);
|
void current(void);
|
||||||
void pline(struct passwd *);
|
void pline(struct passwd *);
|
||||||
void pretty(struct passwd *);
|
void pretty(struct passwd *);
|
||||||
|
@ -63,7 +63,6 @@ void For_Run(void);
|
|||||||
|
|
||||||
/* main.c */
|
/* main.c */
|
||||||
void Main_ParseArgLine(char *);
|
void Main_ParseArgLine(char *);
|
||||||
int main(int, char **);
|
|
||||||
char *Cmd_Exec(char *, char **);
|
char *Cmd_Exec(char *, char **);
|
||||||
void Error(const char *, ...);
|
void Error(const char *, ...);
|
||||||
void Fatal(const char *, ...);
|
void Fatal(const char *, ...);
|
||||||
|
@ -154,7 +154,6 @@ jmp_buf tstpbuf;
|
|||||||
void ask(const char *);
|
void ask(const char *);
|
||||||
void gfrsub(FILE *);
|
void gfrsub(FILE *);
|
||||||
int linecnt(FILE *);
|
int linecnt(FILE *);
|
||||||
int main(int, char *[]);
|
|
||||||
int next(char *);
|
int next(char *);
|
||||||
char *nxtfld(unsigned char *);
|
char *nxtfld(unsigned char *);
|
||||||
void onsusp(int);
|
void onsusp(int);
|
||||||
|
@ -93,7 +93,6 @@ static struct numbering_property numbering_properties[NP_LAST + 1] = {
|
|||||||
((sizeof (int) * CHAR_BIT - 1) * 302 / 1000 + 2)
|
((sizeof (int) * CHAR_BIT - 1) * 302 / 1000 + 2)
|
||||||
|
|
||||||
static void filter(void);
|
static void filter(void);
|
||||||
int main(int, char *[]);
|
|
||||||
static void parse_numbering(const char *, int);
|
static void parse_numbering(const char *, int);
|
||||||
static void usage(void);
|
static void usage(void);
|
||||||
|
|
||||||
|
@ -156,8 +156,6 @@ static char *spaces(int);
|
|||||||
static bool_t add_version(struct rpcbdump_short *, u_long);
|
static bool_t add_version(struct rpcbdump_short *, u_long);
|
||||||
static bool_t add_netid(struct rpcbdump_short *, char *);
|
static bool_t add_netid(struct rpcbdump_short *, char *);
|
||||||
|
|
||||||
int main(int argc, char **argv);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
@ -64,8 +64,6 @@ static const char copyright[] =
|
|||||||
* Fixed to not run with unwriteable terminals MRVM 28/12/94
|
* Fixed to not run with unwriteable terminals MRVM 28/12/94
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int main(int, char **);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
|
@ -58,7 +58,6 @@ static const char sccsid[] = "@(#)touch.c 8.1 (Berkeley) 6/6/93";
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int main(int, char *[]);
|
|
||||||
int rw(char *, struct stat *, int);
|
int rw(char *, struct stat *, int);
|
||||||
void stime_arg1(char *, struct timeval *);
|
void stime_arg1(char *, struct timeval *);
|
||||||
void stime_arg2(char *, int, struct timeval *);
|
void stime_arg2(char *, int, struct timeval *);
|
||||||
|
@ -222,7 +222,6 @@ int findsym(const char *);
|
|||||||
void flushline(bool);
|
void flushline(bool);
|
||||||
int getline(char *, int, FILE *, bool);
|
int getline(char *, int, FILE *, bool);
|
||||||
Linetype ifeval(const char **);
|
Linetype ifeval(const char **);
|
||||||
int main(int, char **);
|
|
||||||
const char *skipcomment(const char *);
|
const char *skipcomment(const char *);
|
||||||
const char *skipquote(const char *, Quote_state);
|
const char *skipquote(const char *, Quote_state);
|
||||||
const char *skipsym(const char *);
|
const char *skipsym(const char *);
|
||||||
|
Loading…
Reference in New Issue
Block a user