[ovs-git] [openvswitch/ovs] 5445f5: list: Inline all functions.

GitHub noreply at github.com
Thu Oct 30 16:16:21 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5445f508df83f260b2953cc6cd3021c1e22d9aec
      https://github.com/openvswitch/ovs/commit/5445f508df83f260b2953cc6cd3021c1e22d9aec
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-10-30 (Thu, 30 Oct 2014)

  Changed paths:
    M lib/automake.mk
    R lib/list.c
    M lib/list.h

  Log Message:
  -----------
  list: Inline all functions.

All of the list functions are really small, so inlining them should be
beneficial.

Requested-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


  Commit: 3f636c7e22945652e0e2553894598fa24a5d5f6f
      https://github.com/openvswitch/ovs/commit/3f636c7e22945652e0e2553894598fa24a5d5f6f
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2014-10-30 (Thu, 30 Oct 2014)

  Changed paths:
    M lib/util.h
    M tests/ovstest.c
    M tests/test-aes128.c
    M tests/test-atomic.c
    M tests/test-bitmap.c
    M tests/test-bundle.c
    M tests/test-byte-order.c
    M tests/test-classifier.c
    M tests/test-cmap.c
    M tests/test-csum.c
    M tests/test-flows.c
    M tests/test-hash.c
    M tests/test-heap.c
    M tests/test-hindex.c
    M tests/test-hmap.c
    M tests/test-json.c
    M tests/test-jsonrpc.c
    M tests/test-list.c
    M tests/test-lockfile.c
    M tests/test-multipath.c
    M tests/test-netflow.c
    M tests/test-odp.c
    M tests/test-packets.c
    M tests/test-random.c
    M tests/test-reconnect.c
    M tests/test-rstp.c
    M tests/test-sflow.c
    M tests/test-sha1.c
    M tests/test-stp.c
    M tests/test-unix-socket.c
    M tests/test-util.c
    M tests/test-uuid.c
    M tests/test-vconn.c

  Log Message:
  -----------
  ovs_assert, tests: Support NDEBUG.

./configure accepts --enable-ndebug option.  Make ovs_assert() honor
it, and make sure all test programs disable it.

The order of include files in test programs is also made uniform:

1. #include <config.h>
2. #undef NDEBUG
3. Include file of the test subject (to make sure it itself has
   sufficient include directives).
4. System includes in alphapetical order.
5. OVS includes in aplhapetical order.

Suggested-by: Ben Pfaff <blp at nicira.com>
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/9feb1017c5f1...3f636c7e2294


More information about the git mailing list