Age | Commit message (Collapse) | Author | Files | Lines |
|
Accidentally lost in commit 4a6303ba3b64504ab0077b9cfebd2a4b918d531d.
|
|
This matches the standard declaration for getopt(3).
|
|
|
|
Deprecate <bsd/getopt.h>.
|
|
|
|
Regression introduced in commit f7caf2b30da93d46528ec706dffaf5cbde5266d9.
|
|
When enabled this will make the inclusion of deprecated headers a
fatal error so that it's easier to spot.
|
|
Mention the possibility of using libbsd-overlay.pc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes sure the “standard” inclusion protectors are in place, as at
least some FreeBSD kernel headers expect these to be defined to do some
sanity checks.
|
|
This will ensure the code can safely and correctly use optreset
transparently.
|
|
This affects the pkg-config file now named libbsd-overlay.pc, and the
macro to use the overlay LIBBSD_OVERLAY.
|
|
|
|
This was added long time ago to fix some software which was implicitly
depending on the header through some other header, and to avoid having
to modify such software. Conditionalize it on LIBBSD_CLEAN_INCLUDES,
so that buildability can be tested for its future removal.
|
|
These inclusions were in place for backward compatibility purposes,
when the headers were split so that code using them would not break.
Make it possible for applications to disable them by defining
LIBBSD_CLEAN_INCLUDES so that buildability can be tested and fixed
before they get removed in a subsequent release.
|
|
First stage of the transition to avoid possible clashes with other
software by moving out of the way the remaining headers from
/usr/include/.
At least nlist.h is known to cause file conflicts with some libelf
implementations. libutil.h is not really complete and might cause
confusion if software detects its availability w/o someone actually
checking. And lastly vis.h is not known to cause any problem and it's
complete, but better be safe than sorry.
The compatibility headers will be removed in a later release.
|
|
This means that software being ported should not need to be modified in
the usual case, as the libbsd headers will take over the standard
namespace and fill the missing gaps, and include the system headers.
To use this the new libbsd-transparent.pc file can be used through
pkg-config, which should end up doing the right thing.
|
|
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
|
|
Taken from FreeBSD.
|
|
Taken from FreeBSD.
|
|
Taken from FreeBSD.
|
|
|
|
|
|
This is more correct as the strings are not going to be changed, and it
matches the function signatures on other BSDs.
Suggested-by: Aurelien Jarno <aurel32@debian.org>
|
|
This way we can replace it later on with a real implementation so that
applications can immediately benefit from it w/o the need to recompile
them.
|
|
Taken from FreeBSD.
Remove MAXPATHLEN from ‘struct pidfh’ and allocate pf_path dynamically,
as some systems do not have such limits. Use dev_t instead of __dev_t.
Replace EDOOFUS with EINVAL.
|
|
Taken from FreeBSD.
|
|
This is were they are located on the BSDs.
|
|
This is were they are located on the BSDs.
|
|
This will be removed at some point in the future.
|
|
This is were they are located on the BSDs.
|
|
The only function declared in that header file was inet_net_pton, which
is already provided by glibc. Will be removed on the next SONAME bump.
|
|
This function was exposed in the header file and the versioning symbol
file, but the actual code was never here.
|
|
This was breaking code actually using those macros.
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
|
|
Taken from OpenBSD.
|
|
Taken from NetBSD.
|
|
Taken from OpenBSD.
|
|
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/ip_icmp.h> that warns and includes
<bsd/netinet/ip_icmp.h>.
|
|
|
|
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/queue.h> that warns and includes
<bsd/sys/queue.h>.
|
|
This maps more closely the location of the real header. For
transitional purposes keep a <bsd/cdefs.h> that warns and includes
<bsd/sys/cdefs.h>.
|
|
Taken from FreeBSD.
|
|
Taken from FreeBSD.
|