Deleted Added
full compact
main.c (29102) main.c (36917)
1/*
2
3This code is not copyright, and is placed in the public domain. Feel free to
4use and modify. Please send modifications and/or suggestions + bug fixes to
5
6 Klas Heggemann <klas@nada.kth.se>
7
8*/
9
10#ifndef lint
11static const char rcsid[] =
1/*
2
3This code is not copyright, and is placed in the public domain. Feel free to
4use and modify. Please send modifications and/or suggestions + bug fixes to
5
6 Klas Heggemann <klas@nada.kth.se>
7
8*/
9
10#ifndef lint
11static const char rcsid[] =
12 "$Id$";
12 "$Id: main.c,v 1.7 1997/09/04 11:49:28 charnier Exp $";
13#endif /* not lint */
14
15#include <ctype.h>
16#include <err.h>
17#include <netdb.h>
18#include <stdio.h>
19#include <stdlib.h>
20#include <string.h>
21#include <syslog.h>
22#include <unistd.h>
23#include <rpc/rpc.h>
24#include <rpc/pmap_clnt.h>
25#include <sys/ioctl.h>
26#include <sys/socket.h>
27#include <sys/stat.h>
28#include <sys/types.h>
13#endif /* not lint */
14
15#include <ctype.h>
16#include <err.h>
17#include <netdb.h>
18#include <stdio.h>
19#include <stdlib.h>
20#include <string.h>
21#include <syslog.h>
22#include <unistd.h>
23#include <rpc/rpc.h>
24#include <rpc/pmap_clnt.h>
25#include <sys/ioctl.h>
26#include <sys/socket.h>
27#include <sys/stat.h>
28#include <sys/types.h>
29#include <netinet/in.h>
30#include <arpa/inet.h>
29#include "bootparam_prot.h"
30
31int debug = 0;
32int dolog = 0;
31#include "bootparam_prot.h"
32
33int debug = 0;
34int dolog = 0;
33unsigned long route_addr = -1, inet_addr();
35unsigned long route_addr = -1;
34struct sockaddr_in my_addr;
35char *bootpfile = "/etc/bootparams";
36
37extern void bootparamprog_1();
38static void usage __P((void));
39
40int
41main(argc, argv)

--- 76 unchanged lines hidden ---
36struct sockaddr_in my_addr;
37char *bootpfile = "/etc/bootparams";
38
39extern void bootparamprog_1();
40static void usage __P((void));
41
42int
43main(argc, argv)

--- 76 unchanged lines hidden ---