summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Graf <tgr@lsx.localdomain>2008-06-17 02:57:33 +0200
committerThomas Graf <tgr@lsx.localdomain>2008-06-17 02:57:33 +0200
commitff05f2ffc3caea6c59b6c940aa80e1314783a070 (patch)
tree87b33cdda0f496cc4fb3d5ed917f78a94bea7982 /include
parentab578b9ca00b19ad6b66283ec08d004f9fc391d6 (diff)
downloadandroid_external_libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.tar.gz
android_external_libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.tar.bz2
android_external_libnl-ff05f2ffc3caea6c59b6c940aa80e1314783a070.zip
Fix compile errors when linking against libnl-genl
Diffstat (limited to 'include')
-rw-r--r--include/netlink-types.h9
-rw-r--r--include/netlink/genl/mngt.h9
2 files changed, 9 insertions, 9 deletions
diff --git a/include/netlink-types.h b/include/netlink-types.h
index a818f99..be5fc4e 100644
--- a/include/netlink-types.h
+++ b/include/netlink-types.h
@@ -95,15 +95,6 @@ struct nl_cache_mngr
struct nl_parser_param;
-struct genl_info
-{
- struct sockaddr_nl * who;
- struct nlmsghdr * nlh;
- struct genlmsghdr * genlhdr;
- void * userhdr;
- struct nlattr ** attrs;
-};
-
#define LOOSE_COMPARISON 1
#define NL_OBJ_MARK 1
diff --git a/include/netlink/genl/mngt.h b/include/netlink/genl/mngt.h
index 467922a..8b0244f 100644
--- a/include/netlink/genl/mngt.h
+++ b/include/netlink/genl/mngt.h
@@ -22,6 +22,15 @@ extern "C" {
struct nl_cache_ops;
+struct genl_info
+{
+ struct sockaddr_nl * who;
+ struct nlmsghdr * nlh;
+ struct genlmsghdr * genlhdr;
+ void * userhdr;
+ struct nlattr ** attrs;
+};
+
/**
* @ingroup genl_mngt
* Generic Netlink Command