Commit Graph

72 Commits

Author SHA1 Message Date
Guillem Jover
47109e39d5 fgetln: Fix function to make it actually work
Reported by Thorsten Glaser.
2008-07-09 08:22:30 +03:00
Guillem Jover
da92787d48 Ansify function arguments 2008-07-09 07:46:23 +03:00
Guillem Jover
fc163cee2f Move version and library name to the beginning of the file 2008-07-09 07:23:49 +03:00
Guillem Jover
1512d0d4ab Renumber 4th clause from BSD license to 3rd
Those files have only three clauses.
2008-07-09 07:22:30 +03:00
Guillem Jover
7b1c361f4d Remove RCS tag 2008-07-09 07:17:20 +03:00
Guillem Jover
b0f64624bb Add missing license headers
With permission from Robert Millan and Aurelien Jarno.
2008-07-09 07:16:20 +03:00
Guillem Jover
efa9658ba6 Remove link_addr and link_ntoa functions
The address familiy used is kernel dependent, so the application will
have to be ported regardless.
2008-06-18 08:51:53 +03:00
Guillem Jover
a5709cbc88 Add license header 2008-06-18 08:47:58 +03:00
Guillem Jover
bf4eeb29f0 Add arc4random_stir and arc4random_addrandom functions 2008-06-18 08:44:18 +03:00
Guillem Jover
26ab4750ee Add a pkg-config file 2008-06-18 08:25:48 +03:00
Guillem Jover
b37f1039ef Replace current md5 code with one from MirBSD and OpenBSD
This adds the following public functions:
MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
2008-06-18 08:19:41 +03:00
Guillem Jover
20bf55ffa5 Include missing stddef.h 2008-06-18 08:09:51 +03:00
Guillem Jover
d699e4bc0e Add license header
With Hector's agreement.
2008-06-18 08:05:54 +03:00
Guillem Jover
3b51d12e1f Add a .gitignore file 2008-06-18 08:00:10 +03:00
Guillem Jover
d033e58045 Remove cruft macros and includes 2008-06-18 07:59:43 +03:00
Guillem Jover
c14d23b5d7 Add license header 2008-06-18 07:49:59 +03:00
Guillem Jover
d83f5791e9 Remove ChangeLog file 2008-06-13 06:49:03 +03:00
Guillem Jover
acb577d6c1 Sync humanize_number from NetBSD
Add the missing man page.
2008-06-13 05:25:57 +03:00
Guillem Jover
0be77c90b5 Convert TNF licenses to new 2 clause variant
This follows NetBSD upstream:
<http://mail-index.netbsd.org/source-changes/2008/04/30/msg005553.html>
2008-06-13 05:23:39 +03:00
Robert Millan
8ca3d66d47 Add license header 2008-05-06 08:56:54 +03:00
Robert Millan
532aec99b6 Relicense err.c and progname.c to avoid trouble with 4-clause BSD code 2008-05-06 08:56:50 +03:00
Guillem Jover
44706ade06 Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
2008-05-06 08:56:38 +03:00
Guillem Jover
f5b8317051 Remove UC Berkeley advertising clause
As per <ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>.
2008-05-06 08:56:38 +03:00
Petr Salinger
c5793d47d1 bsd/queue.h: Sync with current glibc variant from GNU/kFreeBSD 2008-05-06 08:56:38 +03:00
Petr Salinger
ac32eefec5 bsd/bsd.h: Cleanup 2008-05-06 08:56:37 +03:00
Aurelien Jarno
2ef27385c5 link_addr: New function 2008-05-06 08:56:37 +03:00
Petr Salinger
30176335f9 humanize_number: New function 2008-05-06 08:56:37 +03:00
Robert Millan
326d210f17 Revert 1d87476250 2008-05-06 08:56:34 +03:00
Robert Millan
1d87476250 Duplicate setprogname argument
For some reason, accessing the argv vector directly may cause SIGSEV.
2008-05-06 08:55:56 +03:00
Robert Millan
3462d1261f Add heapsort 2008-05-06 08:54:07 +03:00
Aurelien Jarno
daccb6a850 Fix some c++isms 2008-05-06 08:54:03 +03:00
Aurelien Jarno
1e28f34807 Directly call the function fmtcheck instead of using __weak_reference 2008-05-06 08:54:03 +03:00
Robert Millan
d493e6cd98 Move shared library to /lib
Needed by binaries in /bin and /sbin.
2008-05-06 08:54:01 +03:00
Robert Millan
37c5b9a2af Fix install paths so that /usr/include also works 2008-05-06 08:52:50 +03:00
Robert Millan
40bb012fee Add vis and unvis 2008-05-06 08:52:46 +03:00
Robert Millan
a84fcb45ef Fix syntax error 2008-05-06 08:52:31 +03:00
Robert Millan
31461c563a Initialize __progname as NULL 2008-05-06 08:52:26 +03:00
Robert Millan
5bd834027d Add getprogname and setprogname 2008-05-06 08:52:15 +03:00
Guillem Jover
1e8b819b45 Disable __unused
It conflicts with a struct member in a Linux header.
2008-05-06 08:51:56 +03:00
Guillem Jover
67e48af044 Remove unused includes and protect header 2008-05-06 08:51:43 +03:00
Guillem Jover
8a2e8584d9 Revert 39db45e45a 2008-05-06 08:51:24 +03:00
Guillem Jover
c9e733b215 Remove commented out macros 2008-05-06 08:50:52 +03:00
Guillem Jover
8150473420 Move some macros to cdefs.h 2008-05-06 08:50:47 +03:00
Guillem Jover
5372b73685 Move sources to src/ 2008-05-06 08:50:42 +03:00
Guillem Jover
6be6380e10 Add missing % 2008-05-06 08:50:38 +03:00
Guillem Jover
7bd6e03ae0 Makefile: Cleanup
(LIB_SRCS): Line wrap.
(LIB_INCLUDES): List only the files, automatically prefix the dir.
(LIB_MANS): Likewise.
2008-05-06 08:50:36 +03:00
Guillem Jover
39db45e45a Remove optreset 2008-05-06 08:50:35 +03:00
Guillem Jover
bddcccbcdf Fix ChangeLog format 2008-05-06 08:50:30 +03:00
Robert Millan
7aed0593e0 Add bsd_getopt 2008-05-06 08:50:26 +03:00
Robert Millan
7a8c1c8648 Use the same macro (_SYS_QUEUE_H) as <sys/queue.h> for header protection
This prevents collisions.
2008-05-06 08:50:08 +03:00