added 1 changeset to branch 'refs/remotes/HaikuPM-github/package-management' old head: 111204e0d9d0bbffc9a717d472aef686cca66cf6 new head: 4ddd7f8c9414afc9725cec448a9b701167f18d6f overview: https://github.com/haiku/HaikuPM/compare/111204e...4ddd7f8 ---------------------------------------------------------------------------- 4ddd7f8: Make public glibc header printf.h usable. [ Oliver Tappe <zooey@xxxxxxxxxxxxxxx> ] ---------------------------------------------------------------------------- Commit: 4ddd7f8c9414afc9725cec448a9b701167f18d6f Author: Oliver Tappe <zooey@xxxxxxxxxxxxxxx> Date: Wed Jul 17 16:07:56 2013 UTC ---------------------------------------------------------------------------- 1 file changed, 5 insertions(+), 6 deletions(-) headers/glibc/printf.h | 11 +++++------ ---------------------------------------------------------------------------- diff --git a/headers/glibc/printf.h b/headers/glibc/printf.h index c16569b..e8aab0b 100644 --- a/headers/glibc/printf.h +++ b/headers/glibc/printf.h @@ -17,9 +17,9 @@ 02111-1307 USA. */ #ifndef _PRINTF_H - #define _PRINTF_H 1 -#include <features.h> + +#include <sys/cdefs.h> __BEGIN_DECLS @@ -93,7 +93,7 @@ extern int register_printf_function (int __spec, printf_function __func, the number of arguments it wants. */ extern size_t parse_printf_format (__const char *__restrict __fmt, size_t __n, - int *__restrict __argtypes) __THROW; + int *__restrict __argtypes); /* Codes returned by `parse_printf_format' for basic types. @@ -132,12 +132,11 @@ enum used. Otherwise powers of 1024. */ extern int printf_size (FILE *__restrict __fp, __const struct printf_info *__info, - __const void *__const *__restrict __args) __THROW; + __const void *__const *__restrict __args); /* This is the appropriate argument information function for `printf_size'. */ extern int printf_size_info (__const struct printf_info *__restrict - __info, size_t __n, int *__restrict __argtypes) - __THROW; + __info, size_t __n, int *__restrict __argtypes); __END_DECLS