Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
8d0caae2
Commit
8d0caae2
authored
Mar 28, 2002
by
Leigh B. Stoller
Browse files
Fix some -Wall warnings.
parent
d8265bb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/findif.c
View file @
8d0caae2
...
...
@@ -38,6 +38,8 @@
*/
#include
<stdio.h>
#include
<string.h>
#include
<stdlib.h>
#include
<sys/param.h>
#include
<sys/ioctl.h>
#include
<sys/socket.h>
...
...
@@ -45,6 +47,7 @@
#include
<netinet/in.h>
#include
<net/ethernet.h>
#ifdef __FreeBSD__
#include
<err.h>
#include
<net/if.h>
#include
<net/if_dl.h>
#include
<net/if_types.h>
...
...
@@ -64,10 +67,9 @@ usage()
exit
(
1
);
}
int
main
(
int
argc
,
char
**
argv
)
{
unsigned
char
ether_addr
[
ETHER_ADDR_LEN
];
if
(
argc
!=
2
)
usage
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment