Skip to content

Commit

Permalink
route: move "include/netlink-private/route/link/sriov.h" to lib/route…
Browse files Browse the repository at this point in the history
…/link-sriov.h
  • Loading branch information
thom311 committed Aug 1, 2023
1 parent 1acdc02 commit 884afa2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ noinst_HEADERS = \
include/netlink-private/cache-api.h \
include/netlink-private/netlink.h \
include/netlink-private/object-api.h \
include/netlink-private/route/link/sriov.h \
include/netlink-private/types.h \
include/nl-aux-core/nl-core.h \
include/nl-aux-route/nl-route.h \
Expand Down Expand Up @@ -401,6 +400,7 @@ lib_libnl_route_3_la_SOURCES = \
lib/route/cls/mall.c \
lib/route/cls/police.c \
lib/route/cls/u32.c \
lib/route/link-sriov.h \
lib/route/link.c \
lib/route/link/api.c \
lib/route/link/bonding.c \
Expand Down
2 changes: 1 addition & 1 deletion include/netlink-private/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <netlink/idiag/idiagnl.h>
#include <netlink/netfilter/ct.h>
#include <netlink-private/object-api.h>
#include <netlink-private/route/link/sriov.h>
#include <netlink/route/link/sriov.h>
#include <netlink/route/nh.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/route/link.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
#include <netlink/data.h>
#include <netlink/route/rtnl.h>
#include <netlink/route/link.h>
#include <netlink-private/route/link/sriov.h>

#include "nl-aux-route/nl-route.h"

#include "link-sriov.h"
#include "link/link-api.h"

/** @cond SKIP */
Expand Down
2 changes: 1 addition & 1 deletion lib/route/link/sriov.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@

#include <linux/if_ether.h>
#include <linux/if_link.h>
#include <netlink-private/route/link/sriov.h>
#include <netlink/route/link/sriov.h>

#include "link-sriov.h"
#include "link-api.h"

/** @cond SKIP */
Expand Down
2 changes: 1 addition & 1 deletion tools/clang-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ EXCLUDE_PATHS_TOPLEVEL+=(
"include/netlink-private/cache-api.h"
"include/netlink-private/netlink.h"
"include/netlink-private/object-api.h"
"include/netlink-private/route/link/sriov.h"
"include/netlink-private/types.h"
"include/netlink/addr.h"
"include/netlink/attr.h"
Expand Down Expand Up @@ -212,6 +211,7 @@ EXCLUDE_PATHS_TOPLEVEL+=(
"lib/route/cls/mall.c"
"lib/route/cls/police.c"
"lib/route/cls/u32.c"
"lib/route/link-sriov.h"
"lib/route/link.c"
"lib/route/link/api.c"
"lib/route/link/bonding.c"
Expand Down

0 comments on commit 884afa2

Please sign in to comment.