Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 124510
Collapse All | Expand All

(-)bootpd-2.4/bootpd.c (-2 / +2 lines)
Lines 185-191 Link Here
185
 * main server loop is started.
185
 * main server loop is started.
186
 */
186
 */
187
187
188
void
188
int
189
main(argc, argv)
189
main(argc, argv)
190
	int argc;
190
	int argc;
191
	char **argv;
191
	char **argv;
Lines 559-567 Link Here
559
			break;
559
			break;
560
		}
560
		}
561
	}
561
	}
562
	return(0);
562
}
563
}
563
564
564
565
565
566
566
567
/*
567
/*
(-)bootpd-2.4/bootpef.c (-1 / +2 lines)
Lines 139-145 Link Here
139
 * Initialization such as command-line processing is done and then the
139
 * Initialization such as command-line processing is done and then the
140
 * main server loop is started.
140
 * main server loop is started.
141
 */
141
 */
142
void
142
int
143
main(argc, argv)
143
main(argc, argv)
144
	int argc;
144
	int argc;
145
	char **argv;
145
	char **argv;
Lines 275-280 Link Here
275
		mktagfile(hp);
275
		mktagfile(hp);
276
		hp = (struct host *) hash_NextEntry(nmhashtable);
276
		hp = (struct host *) hash_NextEntry(nmhashtable);
277
	}
277
	}
278
	return(0);
278
}
279
}
279
280
280
281
(-)bootpd-2.4/bootpgw.c (-1 / +2 lines)
Lines 152-158 Link Here
152
 * main server loop is started.
152
 * main server loop is started.
153
 */
153
 */
154
154
155
void
155
int
156
main(argc, argv)
156
main(argc, argv)
157
	int argc;
157
	int argc;
158
	char **argv;
158
	char **argv;
Lines 481-486 Link Here
481
			break;
481
			break;
482
		}
482
		}
483
	}
483
	}
484
	return(0);
484
}
485
}
485
486
486
487
(-)bootpd-2.4/getether.c (-1 / +1 lines)
Lines 340-346 Link Here
340
	if (ioctl(fd, SIOCGIFHWADDR, &phys) < 0) {
340
	if (ioctl(fd, SIOCGIFHWADDR, &phys) < 0) {
341
		report(LOG_ERR, "getether: ioctl SIOCGIFHWADDR failed");
341
		report(LOG_ERR, "getether: ioctl SIOCGIFHWADDR failed");
342
	} else {
342
	} else {
343
		bcopy(phys.ifr_hwaddr, eap, EALEN);
343
		bcopy(&phys.ifr_hwaddr, eap, EALEN);
344
		rc = 0;
344
		rc = 0;
345
	}
345
	}
346
	close(fd);
346
	close(fd);
(-)bootpd-2.4/report.c (+1 lines)
Lines 10-15 Link Here
10
10
11
#include <stdio.h>
11
#include <stdio.h>
12
#include <syslog.h>
12
#include <syslog.h>
13
#include <errno.h>
13
14
14
#include "report.h"
15
#include "report.h"
15
16

Return to bug 124510