Condense and clarify header deprecation warnings

Mention the possibility of using libbsd-overlay.pc.
This commit is contained in:
Guillem Jover 2011-05-27 22:11:28 +02:00
parent 755d86be01
commit fbd622971d
8 changed files with 8 additions and 8 deletions

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>