Skip to content

Commit

Permalink
lib: Move token-bucket.h to <openvswitch/token-bucket.h>
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Graf <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
Thomas Graf committed Dec 15, 2014
1 parent 904e080 commit d668c4a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions include/openvswitch/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ openvswitchincludedir = $(includedir)/openvswitch
openvswitchinclude_HEADERS = \
include/openvswitch/compiler.h \
include/openvswitch/thread.h \
include/openvswitch/token-bucket.h \
include/openvswitch/types.h \
include/openvswitch/util.h \
include/openvswitch/version.h
Expand Down
4 changes: 2 additions & 2 deletions lib/token-bucket.h → include/openvswitch/token-bucket.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/

#ifndef TOKEN_BUCKET_H
#define TOKEN_BUCKET_H 1
#ifndef OPENVSWITCH_TOKEN_BUCKET_H
#define OPENVSWITCH_TOKEN_BUCKET_H 1

#include <limits.h>
#include <stdbool.h>
Expand Down
1 change: 0 additions & 1 deletion lib/automake.mk
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ lib_libopenvswitch_la_SOURCES = \
lib/tnl-ports.c \
lib/tnl-ports.h \
lib/token-bucket.c \
lib/token-bucket.h \
lib/type-props.h \
lib/unaligned.h \
lib/unicode.c \
Expand Down
2 changes: 1 addition & 1 deletion lib/token-bucket.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <config.h>

#include "token-bucket.h"
#include "openvswitch/token-bucket.h"

#include "poll-loop.h"
#include "sat-math.h"
Expand Down
2 changes: 1 addition & 1 deletion lib/vlog.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include "compiler.h"
#include "ovs-thread.h"
#include "sat-math.h"
#include "token-bucket.h"
#include "openvswitch/token-bucket.h"
#include "util.h"
#include "list.h"

Expand Down
2 changes: 1 addition & 1 deletion ofproto/pinsched.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include "rconn.h"
#include "sat-math.h"
#include "timeval.h"
#include "token-bucket.h"
#include "openvswitch/token-bucket.h"
#include "vconn.h"

struct pinqueue {
Expand Down

0 comments on commit d668c4a

Please sign in to comment.