]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Condense and clarify header deprecation warnings
authorGuillem Jover <guillem@hadrons.org>
Fri, 27 May 2011 20:11:28 +0000 (22:11 +0200)
committerGuillem Jover <guillem@hadrons.org>
Sat, 28 May 2011 08:58:26 +0000 (10:58 +0200)
Mention the possibility of using libbsd-overlay.pc.

include/bsd/cdefs.h
include/bsd/inet.h
include/bsd/ip_icmp.h
include/bsd/queue.h
include/bsd/random.h
include/libutil.h
include/nlist.h
include/vis.h

index 44044fe9a454b312e3bb54aa301212c1a1b96708..ac36e6370ceb8251d83ccd36023d0ff5af5631a1 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_BSD_CDEFS_H
 #define LIBBSD_BSD_CDEFS_H
 
-#warning "This header is deprecated, use the one in bsd/sys/cdefs.h instead."
+#warning "Deprecated header, use <bsd/sys/cdefs.h> or libbsd-overlay.pc instead."
 
 #include <bsd/sys/cdefs.h>
 
index 0e98548b9bcb14eace348edaccd638f114021fca..5f4862d34f452e2222f349dd5d3f247e97979064 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_INET_H
 #define LIBBSD_INET_H
 
-#warning "This header is deprecated, use the one in arpa/inet.h instead."
+#warning "Deprecated header, use <arpa/inet.h> instead."
 
 #include <arpa/inet.h>
 
index bbe05c19a2c5fba60c1565bda72ee221bbf8db6d..53e976a44b7bd90cb46b7b3fd6a630ab63391eb7 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_BSD_IP_ICMP_H
 #define LIBBSD_BSD_IP_ICMP_H
 
-#warning "This header is deprecated, use <bsd/netinet/ip_icmp.h> instead."
+#warning "Deprecated header, use <bsd/netinet/ip_icmp.h> or libbsd-overlay.pc instead."
 
 #include <bsd/netinet/ip_icmp.h>
 
index 3db70cf06dbad1bd75b2a50652fb5ed32ad767e9..56f5515aeadb42b8f0c074cd1cfff16ba40935a7 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_BSD_QUEUE_H
 #define LIBBSD_BSD_QUEUE_H
 
-#warning "This header is deprecated, use the one in bsd/sys/queue.h instead."
+#warning "Deprecated header, use <bsd/sys/queue.h> or libbsd-overlay.pc instead."
 
 #include <bsd/sys/queue.h>
 
index f4ef7d31baa16cbd98019a0ace233ee5d2f63749..bfbd0abd24ecbbcf08065c8c2c83e2928bb9ca66 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_RANDOM_H
 #define LIBBSD_RANDOM_H
 
-#warning "This header is deprecated, use the one in bsd/stdlib.h instead."
+#warning "Deprecated header, use <bsd/stdlib.h> instead."
 
 #include <bsd/stdlib.h>
 
index 1d5f03a44da1331224c60c6cbbf27e7619e8e409..f2196f7d50cd8dbd8f2d07d3912d03dbd8b83e99 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_LIBUTIL_H
 #define LIBBSD_LIBUTIL_H
 
-#warning "This header is deprecated, use the one in bsd/libutil.h instead."
+#warning "Deprecated header, use <bsd/libutil.h> or libbsd-overlay.pc instead."
 
 #include <bsd/libutil.h>
 
index 61be513fa98bb208fd0f307fb0fbb1bdfccfbd72..9c5c5eb1cebb8bdb0549078e591177d82e8a4ffd 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_NLIST_H
 #define LIBBSD_NLIST_H
 
-#warning "This header is deprecated, use the one in bsd/nlist.h instead."
+#warning "Deprecated header, use <bsd/nlist.h> or libbsd-overlay.pc instead."
 
 #include <bsd/nlist.h>
 
index 2d46fabe86adfd1562cf1f43d0f453f75d83043b..564c10d3706afd6bd8281672a9734bdb09869a46 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef LIBBSD_VIS_H
 #define LIBBSD_VIS_H
 
-#warning "This header is deprecated, use the one in bsd/vis.h instead."
+#warning "Deprecated header, use <bsd/vis.h> or libbsd-overlay.pc instead."
 
 #include <bsd/vis.h>