From 5c54e9666f5b14ae3eaa7f763aa01c4f977a93eb Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 16 Oct 2003 02:43:29 +0000 Subject: [PATCH] small fixes for pedantic warning-setups git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@166 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/listdevip.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util-vserver/src/listdevip.c b/util-vserver/src/listdevip.c index b854495..e0e9486 100644 --- a/util-vserver/src/listdevip.c +++ b/util-vserver/src/listdevip.c @@ -21,6 +21,11 @@ Print the list of all network (IP) devices. Print the IP in fact, including all aliases. */ +#ifdef HAVE_CONFIG_H +# include +#endif +#include "compat.h" + #include #include #include @@ -99,7 +104,7 @@ static int devlist_read2_2() return ret; } -int main (int argc, char *argv[]) +int main (int UNUSED argc, char UNUSED *argv[]) { devlist_read2_2(); return 0; -- 1.8.1.5