[ovs-git] [openvswitch/ovs] 5f3837: command-line: add ovs_cmdl_ prefix

GitHub noreply at github.com
Mon Mar 16 20:48:46 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5f38375100dd1001c60b31aeb519d15b3b342d1b
      https://github.com/openvswitch/ovs/commit/5f38375100dd1001c60b31aeb519d15b3b342d1b
  Author: Russell Bryant <rbryant at redhat.com>
  Date:   2015-03-16 (Mon, 16 Mar 2015)

  Changed paths:
    M lib/command-line.c
    M lib/command-line.h
    M lib/daemon-unix.c
    M ovsdb/ovsdb-client.c
    M ovsdb/ovsdb-server.c
    M ovsdb/ovsdb-tool.c
    M tests/ovstest.c
    M tests/test-bitmap.c
    M tests/test-classifier.c
    M tests/test-cmap.c
    M tests/test-heap.c
    M tests/test-jsonrpc.c
    M tests/test-netflow.c
    M tests/test-ovsdb.c
    M tests/test-reconnect.c
    M tests/test-sflow.c
    M tests/test-util.c
    M tests/test-vconn.c
    M utilities/ovs-appctl.c
    M utilities/ovs-benchmark.c
    M utilities/ovs-dpctl.c
    M utilities/ovs-ofctl.c
    M utilities/ovs-testcontroller.c
    M utilities/ovs-vlan-bug-workaround.c
    M utilities/ovs-vsctl.c
    M vswitchd/ovs-vswitchd.c
    M vtep/vtep-ctl.c

  Log Message:
  -----------
  command-line: add ovs_cmdl_ prefix

The coding style guidelines include the following:

  - Pick a unique name prefix (ending with an underscore) for each
    module, and apply that prefix to all of that module's externally
    visible names.  Names of macro parameters, struct and union members,
    and parameters in function prototypes are not considered externally
    visible for this purpose.

This patch adds the new prefix to the externally visible names.  This
makes it a bit more obvious what code is coming from common command
line handling code.

Signed-off-by: Russell Bryant <rbryant at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list