added linktime warning for vc_set_ipv4root()
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 22 Jan 2006 18:19:06 +0000 (18:19 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Sun, 22 Jan 2006 18:19:06 +0000 (18:19 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2272 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/lib/syscall.c

index a892b2d..1a8634d 100644 (file)
@@ -61,4 +61,6 @@ vc_set_ipv4root(uint32_t  bcast, size_t nb, struct vc_ip_mask_pair const *ips)
 }
 
 LINK_WARNING("vc_new_s_context", "warning: vc_new_s_context() is obsoleted; use vc_create_context() instead of");
+LINK_WARNING("vc_set_ipv4root",  "warning: vc_set_ipv4root() is obsoleted; use vc_net_create() instead of");
+
 #endif