]> git.tue.mpg.de Git - osl.git/log
osl.git
16 years agoKill uint32_compare().
Andre Noll [Sat, 31 May 2008 15:14:02 +0000 (17:14 +0200)]
Kill uint32_compare().

The user of the library might as well provide this.

16 years agoMakefile: Activate optimization and -Wuninitialized.
Andre Noll [Sat, 31 May 2008 15:13:02 +0000 (17:13 +0200)]
Makefile: Activate optimization and -Wuninitialized.

16 years agoMakefile: Disallow undefined symbols.
Andre Noll [Sat, 31 May 2008 15:12:18 +0000 (17:12 +0200)]
Makefile: Disallow undefined symbols.

16 years agoSwitch to the new error code handling.
Andre Noll [Sat, 31 May 2008 14:17:27 +0000 (16:17 +0200)]
Switch to the new error code handling.

16 years agoGenerate osl.h from osl.h.in.
Andre Noll [Sat, 31 May 2008 06:32:50 +0000 (08:32 +0200)]
Generate osl.h from osl.h.in.

We need to export the osl error codes to the applications that link
against osl. Prefix these error codes with OSL.

16 years agoAlways compile with -fvisibility=hidden.
Andre Noll [Thu, 29 May 2008 20:39:16 +0000 (22:39 +0200)]
Always compile with -fvisibility=hidden.

And explicitly mark exported functions with
__attribute__((visibility("default"))). This only works with gcc-4,
but hey, let's just require gcc-4.

16 years agoRename para_open() to osl_open().
Andre Noll [Thu, 29 May 2008 20:28:46 +0000 (22:28 +0200)]
Rename para_open() to osl_open().

16 years agoDo not export para_lseek() and para_write_file().
Andre Noll [Mon, 26 May 2008 23:30:18 +0000 (01:30 +0200)]
Do not export para_lseek() and para_write_file().

16 years agoRemove unused for_each_file_in_dir().
Andre Noll [Mon, 26 May 2008 21:15:10 +0000 (23:15 +0200)]
Remove unused for_each_file_in_dir().

16 years agoMake para_write_file() static.
Andre Noll [Mon, 26 May 2008 21:14:38 +0000 (23:14 +0200)]
Make para_write_file() static.

16 years agoMake some functions static.
Andre Noll [Mon, 26 May 2008 21:13:13 +0000 (23:13 +0200)]
Make some functions static.

And remove the "para" prefix while we're at it.

16 years agoKill the VSPRINTF macro.
Andre Noll [Mon, 26 May 2008 21:06:48 +0000 (23:06 +0200)]
Kill the VSPRINTF macro.

It has only one user, make_message(), so move it there.

16 years agoRemove Makefile.deps.
Andre Noll [Mon, 26 May 2008 20:52:25 +0000 (22:52 +0200)]
Remove Makefile.deps.

It's a derived file.

16 years agoGet rid of string.c and string.h.
Andre Noll [Mon, 26 May 2008 20:51:43 +0000 (22:51 +0200)]
Get rid of string.c and string.h.

These function contained only the malloc wrappers which exited on
allocation failures which is not an acceptable behaviour for a
library. We must therefore bite the bullet and check the return
values in the callers.

16 years agoInitial git import.
Andre Noll [Mon, 26 May 2008 19:37:38 +0000 (21:37 +0200)]
Initial git import.

This code is taken straight from the paraslash package.  It needs a
lot more work to transform it into a proper library package.