diff options
author | Thomas Haller <thaller@redhat.com> | 2023-08-01 06:22:55 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2023-08-01 07:37:45 (GMT) |
commit | db810cfb8ce7f2620f3d865ac4e9e3f757030eb3 (patch) | |
tree | b7e484ba427f8c66f4881922612d6d14736286b8 /src/lib/tc.c | |
parent | ff08e6180d4bdce4f8d60917bed239fee0a2abaa (diff) | |
download | libnl-db810cfb8ce7f2620f3d865ac4e9e3f757030eb3.zip libnl-db810cfb8ce7f2620f3d865ac4e9e3f757030eb3.tar.gz libnl-db810cfb8ce7f2620f3d865ac4e9e3f757030eb3.tar.bz2 |
route: move hidden symbols from "include/netlink-private/route/tc-api.h"
To new header "include/nl-hidden-route/nl-hidden-route.h".
libnl-route-3 exports some symbols that are no in public headers.
They are however used by other internal users in the source tree.
Such usage seems bad. We should clearly see where this is done.
Move the symbols to a separate header, where it's clear who may
use this header, and what's its purpose.
Diffstat (limited to 'src/lib/tc.c')
-rw-r--r-- | src/lib/tc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tc.c b/src/lib/tc.c index ba3de18..fbab274 100644 --- a/src/lib/tc.c +++ b/src/lib/tc.c @@ -5,7 +5,8 @@ #include <netlink/cli/utils.h> #include <netlink/cli/tc.h> -#include <netlink-private/route/tc-api.h> + +#include "nl-hidden-route/nl-hidden-route.h" /** * @ingroup cli |