mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-24 02:51:43 +01:00
Condense and clarify header deprecation warnings
Mention the possibility of using libbsd-overlay.pc.
This commit is contained in:
parent
755d86be01
commit
fbd622971d
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user