From 3d9e386284bcc1e3599046d348a4b905ce5005c4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 1 Apr 2002 11:57:37 +0000 Subject: Remove function declartions from include/features.h, create a separate header file for those, and fixup references. -Erik --- include/features.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'include') diff --git a/include/features.h b/include/features.h index e1060ce3e..4bbf1cefc 100644 --- a/include/features.h +++ b/include/features.h @@ -384,7 +384,7 @@ uClibc was built without large file support enabled. # define strong_alias(name, aliasname) _strong_alias (name, aliasname) # define weak_alias(name, aliasname) _strong_alias (name, aliasname) # define _strong_alias(name, aliasname) \ - __asm__(".global _" #aliasname "\n.set _" #aliasname ",_" #name); + __asm__(".global " #aliasname "\n.set " #aliasname "," #name); # define link_warning(symbol, msg) \ asm (".stabs \"" msg "\",30,0,0,0\n\t" \ ".stabs \"" #symbol "\",1,0,0,0\n"); @@ -417,19 +417,6 @@ uClibc was built without large file support enabled. /* --- this is added to integrate linuxthreads */ #define __USE_UNIX98 1 -/* For want of a better place, here are some function prototypes - * for things from libc/misc/internals */ -#define __need_size_t -#include -extern int __path_search (char *tmpl, size_t tmpl_len, const char *dir, - const char *pfx, int try_tmpdir); -extern int __gen_tempname (char *__tmpl, int __kind); -/* The __kind argument to __gen_tempname may be one of: */ -#define __GT_FILE 0 /* create a file */ -#define __GT_BIGFILE 1 /* create a file, using open64 */ -#define __GT_DIR 2 /* create a directory */ -#define __GT_NOCREATE 3 /* just find a name not currently in use */ - #endif /* _LIBC only stuff */ -- cgit v1.2.3