diff options
author | Thomas Graf <tgr@plip.localdomain> | 2008-12-10 17:02:25 (GMT) |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2008-12-10 17:02:25 (GMT) |
commit | b624b9ed936f4c23bc4f30d8dce34da49775dd15 (patch) | |
tree | 247132c726ae64602404656c58a775c421d15f8c /src | |
parent | 724dfa6d70943e0d4e3c8e54bff43050828a64d0 (diff) | |
download | libnl-b624b9ed936f4c23bc4f30d8dce34da49775dd15.zip libnl-b624b9ed936f4c23bc4f30d8dce34da49775dd15.tar.gz libnl-b624b9ed936f4c23bc4f30d8dce34da49775dd15.tar.bz2 |
Remove obsoleted struct nl_handle definition
Diffstat (limited to 'src')
-rw-r--r-- | src/disabled-nl-qdisc-add.c | 2 | ||||
-rw-r--r-- | src/nl-addr-delete.c | 2 | ||||
-rw-r--r-- | src/nl-addr-list.c | 2 | ||||
-rw-r--r-- | src/nl-fib-lookup.c | 2 | ||||
-rw-r--r-- | src/nl-route-add.c | 2 | ||||
-rw-r--r-- | src/nl-route-delete.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/disabled-nl-qdisc-add.c b/src/disabled-nl-qdisc-add.c index be19f9b..a1fab4e 100644 --- a/src/disabled-nl-qdisc-add.c +++ b/src/disabled-nl-qdisc-add.c @@ -125,7 +125,7 @@ usage: int main(int argc, char *argv[]) { - struct nl_handle *nlh; + struct nl_sock *nlh; struct rtnl_qdisc *qdisc; uint32_t handle, parent; int err = 1; diff --git a/src/nl-addr-delete.c b/src/nl-addr-delete.c index 4211191..f185563 100644 --- a/src/nl-addr-delete.c +++ b/src/nl-addr-delete.c @@ -10,7 +10,7 @@ #include "addr-utils.h" -static struct nl_handle *sock; +static struct nl_sock *sock; static int interactive = 0, default_yes = 0, quiet = 0; static int deleted = 0; diff --git a/src/nl-addr-list.c b/src/nl-addr-list.c index 0a3fb64..1393f6e 100644 --- a/src/nl-addr-list.c +++ b/src/nl-addr-list.c @@ -108,7 +108,7 @@ static void env_dump(struct nl_object *obj, void *arg) int main(int argc, char *argv[]) { - struct nl_handle *sock; + struct nl_sock *sock; struct rtnl_addr *addr; struct nl_cache *link_cache, *addr_cache; struct nl_dump_params params = { diff --git a/src/nl-fib-lookup.c b/src/nl-fib-lookup.c index c514211..328e60f 100644 --- a/src/nl-fib-lookup.c +++ b/src/nl-fib-lookup.c @@ -25,7 +25,7 @@ static void print_usage(void) int main(int argc, char *argv[]) { - struct nl_handle *nlh; + struct nl_sock *nlh; struct nl_cache *result; struct flnl_request *request; struct nl_addr *addr; diff --git a/src/nl-route-add.c b/src/nl-route-add.c index 47475a1..a1ab7f3 100644 --- a/src/nl-route-add.c +++ b/src/nl-route-add.c @@ -49,7 +49,7 @@ static void print_usage(void) int main(int argc, char *argv[]) { - struct nl_handle *sock; + struct nl_sock *sock; struct rtnl_route *route; struct nl_dump_params dp = { .dp_type = NL_DUMP_LINE, diff --git a/src/nl-route-delete.c b/src/nl-route-delete.c index 81cec58..aca3a39 100644 --- a/src/nl-route-delete.c +++ b/src/nl-route-delete.c @@ -13,7 +13,7 @@ static int interactive = 0, default_yes = 0, quiet = 0; static int deleted = 0; -static struct nl_handle *sock; +static struct nl_sock *sock; static void print_version(void) { |