]> git.ipfire.org Git - thirdparty/libbsd.git/log
thirdparty/libbsd.git
13 years agoDo not quote man page titles
Guillem Jover [Tue, 24 Apr 2012 02:05:48 +0000 (04:05 +0200)] 
Do not quote man page titles

13 years agoAdd email address to my name
Guillem Jover [Fri, 23 Mar 2012 09:31:42 +0000 (10:31 +0100)] 
Add email address to my name

13 years agoClarify that the 4-clause BSD licenses are only for man pages
Guillem Jover [Fri, 23 Mar 2012 09:11:57 +0000 (10:11 +0100)] 
Clarify that the 4-clause BSD licenses are only for man pages

13 years agoAdd new man page for tree(3)
Guillem Jover [Thu, 12 Jan 2012 18:13:16 +0000 (19:13 +0100)] 
Add new man page for tree(3)

Taken from FreeBSD.

13 years agoRemove UC Berkeley advertising clause
Guillem Jover [Thu, 12 Jan 2012 19:56:24 +0000 (20:56 +0100)] 
Remove UC Berkeley advertising clause

As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.

13 years agoAdd new man pages for bitstring(3) and queue(3)
Guillem Jover [Thu, 12 Jan 2012 18:13:16 +0000 (19:13 +0100)] 
Add new man pages for bitstring(3) and queue(3)

Taken from FreeBSD.

13 years agoAdd new man pages for getprogname(3) and setprogname(3)
Guillem Jover [Sat, 14 May 2011 12:18:57 +0000 (14:18 +0200)] 
Add new man pages for getprogname(3) and setprogname(3)

Taken from FreeBSD.

13 years agoAdd new man page for setproctitle(3)
Guillem Jover [Sat, 14 May 2011 12:18:57 +0000 (14:18 +0200)] 
Add new man page for setproctitle(3)

Taken from FreeBSD.

13 years agoAdd <bitstring.h> for compatibility with NetBSD and OpenBSD
Guillem Jover [Thu, 12 Jan 2012 17:16:55 +0000 (18:16 +0100)] 
Add <bitstring.h> for compatibility with NetBSD and OpenBSD

13 years agotest: Add a unit test for endian encoder/decoder
Guillem Jover [Fri, 23 Mar 2012 09:43:33 +0000 (10:43 +0100)] 
test: Add a unit test for endian encoder/decoder

13 years agoAdd inline endian encoding/decoding functions
Robert Millan [Tue, 3 Jan 2012 04:29:36 +0000 (05:29 +0100)] 
Add inline endian encoding/decoding functions

Taken from FreeBSD.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
13 years agoBase getprogname() on program_invocation_short_name presence instead of glibc
Guillem Jover [Tue, 3 Jan 2012 07:58:01 +0000 (08:58 +0100)] 
Base getprogname() on program_invocation_short_name presence instead of glibc

13 years agoBase fpurge() implementation on __fpurge presence instead of glibc
Guillem Jover [Tue, 3 Jan 2012 08:08:35 +0000 (09:08 +0100)] 
Base fpurge() implementation on __fpurge presence instead of glibc

13 years agoBase fgetln() implementation on getline presence instead of glibc
Guillem Jover [Tue, 3 Jan 2012 07:40:18 +0000 (08:40 +0100)] 
Base fgetln() implementation on getline presence instead of glibc

13 years agotest: Add new overlay unit test
Guillem Jover [Sat, 24 Mar 2012 19:37:55 +0000 (20:37 +0100)] 
test: Add new overlay unit test

13 years agoMove overlay inclusions outside of header protection
Guillem Jover [Tue, 3 Jan 2012 04:39:22 +0000 (05:39 +0100)] 
Move overlay inclusions outside of header protection

Glibc tends to include standard headers with special definitions
that make few declarations or macros visible, this stomps over the
overlay #include_next <> logic.

Based-on-patch-by: Robert Millan <rmh@debian.org>
13 years agoRemove bogus deprecation warning from <getopt.h>
Guillem Jover [Wed, 21 Mar 2012 03:10:37 +0000 (04:10 +0100)] 
Remove bogus deprecation warning from <getopt.h>

13 years agoRemove deprecated compatibility includes in headers
Guillem Jover [Tue, 3 Jan 2012 06:32:53 +0000 (07:32 +0100)] 
Remove deprecated compatibility includes in headers

13 years agoRemove deprecated headers
Guillem Jover [Tue, 3 Jan 2012 06:32:37 +0000 (07:32 +0100)] 
Remove deprecated headers

13 years agoAdd new expand_number() function
Robert Millan [Sat, 31 Dec 2011 03:30:48 +0000 (04:30 +0100)] 
Add new expand_number() function

Taken from FreeBSD.

[guillem@hadrons.org:
 - Include <stdint.h> in <bsd/libutil.h>. ]

Signed-off-by: Guillem Jover <guillem@hadrons.org>
13 years agoAdd new closefrom() function
Guillem Jover [Sat, 31 Dec 2011 07:39:44 +0000 (08:39 +0100)] 
Add new closefrom() function

Code taken from sudo, man page from FreeBSD.

13 years agoBase errc() and warnc() on vwarnc() and verrc() respectively
Guillem Jover [Sat, 31 Dec 2011 05:01:27 +0000 (06:01 +0100)] 
Base errc() and warnc() on vwarnc() and verrc() respectively

13 years agoUse system __progname variable in progname module if available
Guillem Jover [Wed, 6 Jul 2011 14:29:26 +0000 (16:29 +0200)] 
Use system __progname variable in progname module if available

13 years agoUse getexecname() if available for getprogname()
Guillem Jover [Tue, 5 Jul 2011 21:27:31 +0000 (23:27 +0200)] 
Use getexecname() if available for getprogname()

This function is present on Solaris.

13 years agotest: Add new headers unit test
Guillem Jover [Sat, 24 Mar 2012 19:37:55 +0000 (20:37 +0100)] 
test: Add new headers unit test

13 years agobuild: Add a test suite infrastructure
Guillem Jover [Fri, 23 Mar 2012 09:43:33 +0000 (10:43 +0100)] 
build: Add a test suite infrastructure

13 years agobuild: Do not define already defined _GNU_SOURCE
Guillem Jover [Tue, 3 Jan 2012 07:58:52 +0000 (08:58 +0100)] 
build: Do not define already defined _GNU_SOURCE

The macro is defined by configure on config.h which is now implicitly
included by all source files.

13 years agobuild: Include <config.h> through -include for all source files
Guillem Jover [Tue, 3 Jan 2012 07:45:05 +0000 (08:45 +0100)] 
build: Include <config.h> through -include for all source files

13 years agobuild: Set -Wno-unused-parameter to default CFLAGS
Guillem Jover [Sat, 31 Dec 2011 06:31:47 +0000 (07:31 +0100)] 
build: Set -Wno-unused-parameter to default CFLAGS

13 years agobuild: Switch to autotools
Guillem Jover [Fri, 17 Dec 2010 10:13:04 +0000 (11:13 +0100)] 
build: Switch to autotools

13 years agoMove .pc and .map files to src/
Guillem Jover [Sat, 31 Dec 2011 06:35:52 +0000 (07:35 +0100)] 
Move .pc and .map files to src/

13 years agoMove man pages to man/
Guillem Jover [Sat, 31 Dec 2011 05:50:40 +0000 (06:50 +0100)] 
Move man pages to man/

13 years agoRename version script from Versions to libbsd.map
Guillem Jover [Sun, 11 Dec 2011 06:57:05 +0000 (07:57 +0100)] 
Rename version script from Versions to libbsd.map

13 years agoFix typos in source comments
Guillem Jover [Sun, 23 Oct 2011 17:27:44 +0000 (19:27 +0200)] 
Fix typos in source comments

Found by codespell.

14 years agobuild: Use -isystem instead of -I
Guillem Jover [Tue, 5 Jul 2011 19:01:57 +0000 (21:01 +0200)] 
build: Use -isystem instead of -I

14 years agobuild: Do not add -Iinclude/ to MK_CPPFLAGS
Guillem Jover [Tue, 5 Jul 2011 19:01:18 +0000 (21:01 +0200)] 
build: Do not add -Iinclude/ to MK_CPPFLAGS

The source code should not be using any of the headers there.

14 years agoAdd missing semicolon to bsd_getopt() declaration
Guillem Jover [Tue, 5 Jul 2011 18:59:04 +0000 (20:59 +0200)] 
Add missing semicolon to bsd_getopt() declaration

Accidentally lost in commit 4a6303ba3b64504ab0077b9cfebd2a4b918d531d.

14 years agoConstify bsd_getopt(3) arguments
Guillem Jover [Wed, 8 Jun 2011 00:10:38 +0000 (02:10 +0200)] 
Constify bsd_getopt(3) arguments

This matches the standard declaration for getopt(3).

14 years agoRelease libbsd 0.3.0 0.3.0
Guillem Jover [Thu, 2 Jun 2011 17:16:57 +0000 (19:16 +0200)] 
Release libbsd 0.3.0

14 years agoAdd a COPYING file to ease the distributors work
Guillem Jover [Thu, 2 Jun 2011 17:14:44 +0000 (19:14 +0200)] 
Add a COPYING file to ease the distributors work

This file includes all the copyright and license notices from the source
code in a single place.

14 years agoRemove blank lines at EOF
Guillem Jover [Sun, 29 May 2011 00:49:14 +0000 (02:49 +0200)] 
Remove blank lines at EOF

14 years agoMove bsd_getopt() from <bsd/getopt.h> to <bsd/unistd.h>
Guillem Jover [Sat, 28 May 2011 09:40:36 +0000 (11:40 +0200)] 
Move bsd_getopt() from <bsd/getopt.h> to <bsd/unistd.h>

Deprecate <bsd/getopt.h>.

14 years agoInclude the correct deprecated headeres when using the overlay
Guillem Jover [Sat, 28 May 2011 08:39:54 +0000 (10:39 +0200)] 
Include the correct deprecated headeres when using the overlay

14 years agoDo not use the same header inclusion protector for <nlist.h> and <bsd/nlist.h>
Guillem Jover [Sat, 28 May 2011 04:35:18 +0000 (06:35 +0200)] 
Do not use the same header inclusion protector for <nlist.h> and <bsd/nlist.h>

Regression introduced in commit f7caf2b30da93d46528ec706dffaf5cbde5266d9.

14 years agoAdd LIBBSD_DISABLE_DEPRECATED to deprecated headers
Guillem Jover [Fri, 27 May 2011 19:58:20 +0000 (21:58 +0200)] 
Add LIBBSD_DISABLE_DEPRECATED to deprecated headers

When enabled this will make the inclusion of deprecated headers a
fatal error so that it's easier to spot.

14 years agoCondense and clarify header deprecation warnings
Guillem Jover [Fri, 27 May 2011 20:11:28 +0000 (22:11 +0200)] 
Condense and clarify header deprecation warnings

Mention the possibility of using libbsd-overlay.pc.

14 years agoRename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED
Guillem Jover [Fri, 27 May 2011 19:39:14 +0000 (21:39 +0200)] 
Rename LIBBSD_CLEAN_INCLUDES to LIBBSD_DISABLE_DEPRECATED

14 years agoNamespace header protector in <bsd/sys/cdefs.h> with LIBBSD_SYS_
Guillem Jover [Fri, 27 May 2011 19:23:18 +0000 (21:23 +0200)] 
Namespace header protector in <bsd/sys/cdefs.h> with LIBBSD_SYS_

14 years agoAdd new <bsd/sys/poll.h> header
Guillem Jover [Fri, 27 May 2011 19:13:18 +0000 (21:13 +0200)] 
Add new <bsd/sys/poll.h> header

14 years agoAdd new <bsd/sys/endian.h> header
Guillem Jover [Fri, 27 May 2011 18:37:10 +0000 (20:37 +0200)] 
Add new <bsd/sys/endian.h> header

14 years agoAdd new __packed, __aligned and __nonnull attributes
Guillem Jover [Wed, 25 May 2011 19:27:58 +0000 (21:27 +0200)] 
Add new __packed, __aligned and __nonnull attributes

14 years agoDefine __dead2 and __pure2 to actual gcc attributes if possible
Guillem Jover [Wed, 25 May 2011 19:27:12 +0000 (21:27 +0200)] 
Define __dead2 and __pure2 to actual gcc attributes if possible

14 years agoDefine <sys/cdefs.h> attributes conditional to the supported gcc version
Guillem Jover [Wed, 25 May 2011 19:25:54 +0000 (21:25 +0200)] 
Define <sys/cdefs.h> attributes conditional to the supported gcc version

14 years agoDefine _SYS_CDEFS_H and _SYS_CDEFS_H after including <sys/cdefs.h>
Guillem Jover [Wed, 25 May 2011 19:02:40 +0000 (21:02 +0200)] 
Define _SYS_CDEFS_H and _SYS_CDEFS_H after including <sys/cdefs.h>

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.

14 years agoMap getopt to bsd_getopt if we are using the overlay
Guillem Jover [Wed, 25 May 2011 05:38:36 +0000 (07:38 +0200)] 
Map getopt to bsd_getopt if we are using the overlay

This will ensure the code can safely and correctly use optreset
transparently.

14 years agoRename transparent support to overlay
Guillem Jover [Wed, 25 May 2011 05:36:19 +0000 (07:36 +0200)] 
Rename transparent support to overlay

This affects the pkg-config file now named libbsd-overlay.pc, and the
macro to use the overlay LIBBSD_OVERLAY.

14 years agoAbort compilation if fgetln cannot be wrapped
Guillem Jover [Sat, 14 May 2011 16:12:48 +0000 (18:12 +0200)] 
Abort compilation if fgetln cannot be wrapped

14 years agoAdd fpurge function
Guillem Jover [Sat, 14 May 2011 15:58:08 +0000 (17:58 +0200)] 
Add fpurge function

14 years agoConditionalize <time.h> inclusion from <bsd/bsd.h>
Guillem Jover [Wed, 23 Feb 2011 11:39:58 +0000 (12:39 +0100)] 
Conditionalize <time.h> inclusion from <bsd/bsd.h>

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.

14 years agoConditionalize temporary compatibility inclusions
Guillem Jover [Wed, 23 Feb 2011 11:38:42 +0000 (12:38 +0100)] 
Conditionalize temporary compatibility inclusions

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.

14 years agoCorrect library name in man pages
Guillem Jover [Sat, 14 May 2011 12:17:44 +0000 (14:17 +0200)] 
Correct library name in man pages

14 years agoUpdate libbsd header references in man pages
Guillem Jover [Wed, 23 Feb 2011 12:14:22 +0000 (13:14 +0100)] 
Update libbsd header references in man pages

Point to the namespaced path for libbsd specific headers.

14 years agoMove all header files to /usr/include/bsd/ and deprecate /usr/include/
Guillem Jover [Wed, 23 Feb 2011 10:07:30 +0000 (11:07 +0100)] 
Move all header files to /usr/include/bsd/ and deprecate /usr/include/

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.

14 years agoAdd support for transparent compilation
Guillem Jover [Wed, 23 Feb 2011 13:04:57 +0000 (14:04 +0100)] 
Add support for transparent compilation

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.

14 years agoMove each version symbol declaration into its own line
Guillem Jover [Wed, 23 Feb 2011 13:15:43 +0000 (14:15 +0100)] 
Move each version symbol declaration into its own line

14 years agoGeneralize pkg-config file handling
Guillem Jover [Wed, 23 Feb 2011 13:01:06 +0000 (14:01 +0100)] 
Generalize pkg-config file handling

Use a make pattern for the .pc rule to allow using more than one .pc
file. And generalize the .gitignore entry.

14 years agoInitialize __progname to program_invocation_short_name
Guillem Jover [Fri, 25 Feb 2011 12:52:59 +0000 (13:52 +0100)] 
Initialize __progname to program_invocation_short_name

As we do not have cooperation from the crt0 code to set __progname, we
have to set it ourselves from getprogname() in case it's NULL. On GNU
systems we can use program_invocation_short_name which is actually set
on crt0.

14 years agoAdd missing prototypes for arc4random_buf and arc4random_uniform
Kevin McCarthy [Tue, 22 Feb 2011 19:44:21 +0000 (20:44 +0100)] 
Add missing prototypes for arc4random_buf and arc4random_uniform

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
14 years agoAdd new <bsd/sys/bitstring.h> header
Guillem Jover [Tue, 22 Feb 2011 19:19:37 +0000 (20:19 +0100)] 
Add new <bsd/sys/bitstring.h> header

Taken from FreeBSD.

14 years agoAdd new radixsort and sradixsort functions
Guillem Jover [Fri, 25 Feb 2011 17:48:10 +0000 (18:48 +0100)] 
Add new radixsort and sradixsort functions

Taken from FreeBSD.

14 years agoAdd man pages for heapsort and mergesort
Guillem Jover [Fri, 25 Feb 2011 17:25:17 +0000 (18:25 +0100)] 
Add man pages for heapsort and mergesort

Taken from FreeBSD, originally as qsort.3 but qsort references stripped.

14 years agoAdd new mergesort function
Guillem Jover [Fri, 25 Feb 2011 17:17:16 +0000 (18:17 +0100)] 
Add new mergesort function

Taken from FreeBSD.

14 years agoAdd getpeereid function
Guillem Jover [Fri, 17 Dec 2010 09:50:56 +0000 (10:50 +0100)] 
Add getpeereid function

14 years agoAdd reallocf function
Aurelien Jarno [Fri, 30 Jul 2010 06:00:41 +0000 (08:00 +0200)] 
Add reallocf function

15 years agobuild: Use proper user variables during build
Guillem Jover [Sun, 31 Jan 2010 13:13:24 +0000 (14:13 +0100)] 
build: Use proper user variables during build

To compile we need to use CPPFLAGS and CFLAGS, to link CFLAGS and
LDFLAGS. Rename MK_CFLAGS to MK_CPPFLAGS as those are only relevant
at compilation time.

Reported-by: Eric Smith <eric@brouhaha.com>
15 years agobuild: Use new AR variable instead of hardcoded command
Guillem Jover [Sat, 30 Jan 2010 21:43:29 +0000 (22:43 +0100)] 
build: Use new AR variable instead of hardcoded command

15 years agobuild: Refactor COMPILER and LINK commands into new variables
Guillem Jover [Sat, 30 Jan 2010 21:42:00 +0000 (22:42 +0100)] 
build: Refactor COMPILER and LINK commands into new variables

15 years agobuild: Use CCLD instead of hardcoded gcc for linking
Guillem Jover [Sat, 30 Jan 2010 21:40:01 +0000 (22:40 +0100)] 
build: Use CCLD instead of hardcoded gcc for linking

15 years agobuild: By default set CC to gcc
Guillem Jover [Sat, 30 Jan 2010 21:39:18 +0000 (22:39 +0100)] 
build: By default set CC to gcc

15 years agobuild: Install shared library with 755 permission
Eric Smith [Sat, 30 Jan 2010 21:13:18 +0000 (22:13 +0100)] 
build: Install shared library with 755 permission

The Makefile should install the shared library with 755 permission
rather than 644. That's standard practice, and required when building
RPMs on Fedora to get a debuginfo package.

15 years agoFix setprogname to strip leading paths from progname
Guillem Jover [Sat, 30 Jan 2010 21:00:18 +0000 (22:00 +0100)] 
Fix setprogname to strip leading paths from progname

15 years agoMake setprogname and getprogname arguments and return value const
Guillem Jover [Thu, 21 Jan 2010 13:34:55 +0000 (14:34 +0100)] 
Make setprogname and getprogname arguments and return value const

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>
15 years agoRelease libbsd 0.2.0 0.2.0
Guillem Jover [Sun, 10 Jan 2010 11:04:03 +0000 (12:04 +0100)] 
Release libbsd 0.2.0

15 years agoReformat code to KNF
Guillem Jover [Sun, 10 Jan 2010 10:02:13 +0000 (11:02 +0100)] 
Reformat code to KNF

15 years agoAdd vis and unvis man pages
Guillem Jover [Sun, 10 Jan 2010 00:41:27 +0000 (01:41 +0100)] 
Add vis and unvis man pages

Taken from OpenBSD.

15 years agoAdd dehumanize_number man page link
Guillem Jover [Sun, 10 Jan 2010 00:37:18 +0000 (01:37 +0100)] 
Add dehumanize_number man page link

15 years agoUpdate vis and unvis modules from OpenBSD
Guillem Jover [Sun, 10 Jan 2010 00:35:27 +0000 (01:35 +0100)] 
Update vis and unvis modules from OpenBSD

15 years agoUpdate strlcat and strlcpy from OpenBSD
Guillem Jover [Sun, 10 Jan 2010 00:33:07 +0000 (01:33 +0100)] 
Update strlcat and strlcpy from OpenBSD

15 years agoAdd arc4random_buf and arc4random_uniform functions
Guillem Jover [Sat, 9 Jan 2010 23:57:07 +0000 (00:57 +0100)] 
Add arc4random_buf and arc4random_uniform functions

Update arc4random module from FreeBSD.

15 years agoReplace setproctitle dummy macro with a function stub
Guillem Jover [Sat, 9 Jan 2010 23:37:03 +0000 (00:37 +0100)] 
Replace setproctitle dummy macro with a function stub

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.

15 years agoAdd pidfile functions
Guillem Jover [Sat, 9 Jan 2010 23:10:21 +0000 (00:10 +0100)] 
Add pidfile functions

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.

15 years agoAdd flopen function
Guillem Jover [Sat, 9 Jan 2010 22:49:32 +0000 (23:49 +0100)] 
Add flopen function

Taken from FreeBSD.

15 years agoMove man pages to the same directory as the source code
Guillem Jover [Sat, 9 Jan 2010 19:17:16 +0000 (20:17 +0100)] 
Move man pages to the same directory as the source code

This matches BSD style source tree, and makes it easier to see what's
missing.

15 years agobuild: Untangle the package version from the soversion
Guillem Jover [Sun, 13 Dec 2009 00:52:03 +0000 (01:52 +0100)] 
build: Untangle the package version from the soversion

Add a new script to generate the package version from git. Use that for
the pkg-config file and the tarball name.

15 years agobuild: Make dist use files from git plus few autogenerated ones
Guillem Jover [Sat, 12 Dec 2009 00:46:25 +0000 (01:46 +0100)] 
build: Make dist use files from git plus few autogenerated ones

To avoid forgetting to include files, we'll use “git ls-files” and will
include few precious autogenerated files that cannot be generated later
on w/o git. This includes mainly the ChangeLog.

15 years agobuild: Do not duplicate generated filenames in several variables
Guillem Jover [Sat, 9 Jan 2010 18:56:45 +0000 (19:56 +0100)] 
build: Do not duplicate generated filenames in several variables

15 years agoMove fmtcheck and fgetln declarations to <bsd/stdio.h>
Guillem Jover [Fri, 11 Dec 2009 22:24:31 +0000 (23:24 +0100)] 
Move fmtcheck and fgetln declarations to <bsd/stdio.h>

This is were they are located on the BSDs.

15 years agoMove setmode and getmode declarations to <bsd/unistd.h>
Guillem Jover [Fri, 11 Dec 2009 22:21:14 +0000 (23:21 +0100)] 
Move setmode and getmode declarations to <bsd/unistd.h>

This is were they are located on the BSDs.

15 years agoMark inclusion of <time.h> from <bsd/bsd.h> deprecated
Guillem Jover [Fri, 11 Dec 2009 22:13:42 +0000 (23:13 +0100)] 
Mark inclusion of <time.h> from <bsd/bsd.h> deprecated

This will be removed at some point in the future.

15 years agoMove arc4random declarations to <bsd/stdlib.h>
Guillem Jover [Fri, 11 Dec 2009 22:12:26 +0000 (23:12 +0100)] 
Move arc4random declarations to <bsd/stdlib.h>

This is were they are located on the BSDs.