Commit fbd622971d0a22dd94cf23c93dab72f5c6a42bf6

Guillem Jover 2011-05-27T22:11:28

Condense and clarify header deprecation warnings Mention the possibility of using libbsd-overlay.pc.

diff --git a/include/bsd/cdefs.h b/include/bsd/cdefs.h
index 44044fe..ac36e63 100644
--- a/include/bsd/cdefs.h
+++ b/include/bsd/cdefs.h
@@ -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>
 
diff --git a/include/bsd/inet.h b/include/bsd/inet.h
index 0e98548..5f4862d 100644
--- a/include/bsd/inet.h
+++ b/include/bsd/inet.h
@@ -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>
 
diff --git a/include/bsd/ip_icmp.h b/include/bsd/ip_icmp.h
index bbe05c1..53e976a 100644
--- a/include/bsd/ip_icmp.h
+++ b/include/bsd/ip_icmp.h
@@ -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>
 
diff --git a/include/bsd/queue.h b/include/bsd/queue.h
index 3db70cf..56f5515 100644
--- a/include/bsd/queue.h
+++ b/include/bsd/queue.h
@@ -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>
 
diff --git a/include/bsd/random.h b/include/bsd/random.h
index f4ef7d3..bfbd0ab 100644
--- a/include/bsd/random.h
+++ b/include/bsd/random.h
@@ -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>
 
diff --git a/include/libutil.h b/include/libutil.h
index 1d5f03a..f2196f7 100644
--- a/include/libutil.h
+++ b/include/libutil.h
@@ -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>
 
diff --git a/include/nlist.h b/include/nlist.h
index 61be513..9c5c5eb 100644
--- a/include/nlist.h
+++ b/include/nlist.h
@@ -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>
 
diff --git a/include/vis.h b/include/vis.h
index 2d46fab..564c10d 100644
--- a/include/vis.h
+++ b/include/vis.h
@@ -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>