]> granicus.if.org Git - libtirpc/commitdiff
libtirpc: remove tirpc/misc/queue.h
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Dec 2013 16:45:39 +0000 (11:45 -0500)
committerSteve Dickson <steved@redhat.com>
Mon, 9 Dec 2013 18:41:43 +0000 (13:41 -0500)
The contents of this header are unneeded on Linux, so remove the header.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
src/clnt_bcast.c
tirpc/misc/queue.h [deleted file]

index 140407b11145eb205fab4542ea96a996270f02f7..105554533e8ef457c31f981c3284b636c36c9a40 100644 (file)
@@ -43,9 +43,6 @@
 #include <sys/types.h>
 #include <sys/queue.h>
 
-/* new queue functions */
-#include <misc/queue.h>
-
 #include <net/if.h>
 #include <netinet/in.h>
 #include <ifaddrs.h>
diff --git a/tirpc/misc/queue.h b/tirpc/misc/queue.h
deleted file mode 100644 (file)
index 0346905..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#include <sys/queue.h>
-
-
-#define        STAILQ_NEXT(elm, field) ((elm)->field.stqe_next)
-
-#define        STAILQ_FIRST(head)      ((head)->stqh_first)