Reorganize source tree to use single autotools instance
[vpp.git] / src / vpp / vnet / main.c
similarity index 98%
rename from vpp/vnet/main.c
rename to src/vpp/vnet/main.c
index 56790fd..e4695e1 100644 (file)
@@ -19,7 +19,7 @@
 #include <vnet/plugin/plugin.h>
 #include <vnet/ethernet/ethernet.h>
 
-#include <vpp-api/vpe_msg_enum.h>
+#include <vpp/api/vpe_msg_enum.h>
 
 #if DPDK
 #include <vnet/devices/dpdk/dpdk.h>
@@ -124,7 +124,8 @@ main (int argc, char *argv[])
   void vlib_set_get_handoff_structure_cb (void *cb);
 
 #if __x86_64__
-  const char *msg = "ERROR: This binary requires CPU with %s extensions.\n";
+  CLIB_UNUSED (const char *msg)
+    = "ERROR: This binary requires CPU with %s extensions.\n";
 #define _(a,b)                                  \
     if (!clib_cpu_supports_ ## a ())            \
       {                                         \