Package: libnl-dev
Version: 1.1-7
Severity: normal
Tags: patch

Dear Maintainer,
the provided header "netlink/object.h" contains a "extern inline"
definition of "nl_object_priv()". There is no declaration for this
function. Using "netlink/object.h" directly or even through other
header of the package induce a nasty compiler warning:

/usr/include/netlink/object.h:58: error: inline function
'nl_object_priv' declared but never defined

Simply removing the declaration solves the issue.
Patch below:
---8<---
--- a/include/netlink/object.h
+++ b/include/netlink/object.h
@@ -55,7 +55,6 @@
 /* Access Functions */
 extern int                     nl_object_get_refcnt(struct nl_object
--- *);
 extern struct nl_cache *       nl_object_get_cache(struct nl_object *);
-extern inline void *           nl_object_priv(struct nl_object *);
 
 #ifdef __cplusplus
 }
---8<---

Regards
    Benedikt Spranger

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libnl-dev depends on:
ii  libnl1  1.1-7

libnl-dev recommends no packages.

Versions of packages libnl-dev suggests:
ii  libnl-doc  1.1-7

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to