X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=utilities%2Fovs-testcontroller.c;h=3d59adbaf7486dd13bda905f7388d564baf5577f;hb=aaf881c6c0c2c3149f9d1381b2f4730cf86a5746;hp=4ef7d4bb428d5267402c78fbb6c3202bc37839bf;hpb=270f328621bfd8f80659150d5d3eec51754b5bfb;p=cascardo%2Fovs.git diff --git a/utilities/ovs-testcontroller.c b/utilities/ovs-testcontroller.c index 4ef7d4bb4..3d59adbaf 100644 --- a/utilities/ovs-testcontroller.c +++ b/utilities/ovs-testcontroller.c @@ -40,8 +40,8 @@ #include "timeval.h" #include "unixctl.h" #include "util.h" -#include "vconn.h" -#include "vlog.h" +#include "openvswitch/vconn.h" +#include "openvswitch/vlog.h" #include "socket-util.h" #include "ofp-util.h" @@ -91,7 +91,7 @@ static char *unixctl_path = NULL; static void new_switch(struct switch_ *, struct vconn *); static void parse_options(int argc, char *argv[]); -NO_RETURN static void usage(void); +OVS_NO_RETURN static void usage(void); int main(int argc, char *argv[]) @@ -103,7 +103,7 @@ main(int argc, char *argv[]) int retval; int i; - proctitle_init(argc, argv); + ovs_cmdl_proctitle_init(argc, argv); set_program_name(argv[0]); parse_options(argc, argv); fatal_ignore_sigpipe(); @@ -277,7 +277,7 @@ parse_options(int argc, char *argv[]) {"peer-ca-cert", required_argument, NULL, OPT_PEER_CA_CERT}, {NULL, 0, NULL, 0}, }; - char *short_options = long_options_to_short_options(long_options); + char *short_options = ovs_cmdl_long_options_to_short_options(long_options); for (;;) { int indexptr;