libc_hidden_proto(inet_ntop)
libc_hidden_proto(strtoul)
libc_hidden_proto(if_nametoindex)
+libc_hidden_proto(__h_errno_location)
/* libc_hidden_proto(uname) */
#ifdef __UCLIBC_HAS_IPV6__
libc_hidden_proto(in6addr_loopback)
#include <netdb.h>
libc_hidden_proto(fprintf)
+libc_hidden_proto(__h_errno_location)
static const char *error_msg = "Resolver error";
static const char *const h_errlist[] = {
libc_hidden_proto(res_querydomain)
libc_hidden_proto(gethostent_r)
libc_hidden_proto(fprintf)
+libc_hidden_proto(__h_errno_location)
#define MAX_RECURSE 5
#define REPLY_TIMEOUT 10
libc_hidden_proto(xdr_replymsg)
libc_hidden_proto(xdr_opaque_auth)
libc_hidden_proto(xdrmem_create)
+libc_hidden_proto(xdr_void)
libc_hidden_proto(pmap_getport)
libc_hidden_proto(_seterr_reply)
libc_hidden_proto(connect)
libc_hidden_proto(xdr_replymsg)
libc_hidden_proto(xdr_opaque_auth)
libc_hidden_proto(xdrmem_create)
+libc_hidden_proto(xdr_void)
libc_hidden_proto(getegid)
libc_hidden_proto(geteuid)
libc_hidden_proto(_seterr_reply)
libc_hidden_proto(clnt_perror)
libc_hidden_proto(clntudp_bufcreate)
libc_hidden_proto(xdr_bool)
+libc_hidden_proto(xdr_pmap)
/*
* Same as get_myaddress, but we try to use the loopback
libc_hidden_proto(clnt_perror)
libc_hidden_proto(clnttcp_create)
+libc_hidden_proto(xdr_pmap)
+libc_hidden_proto(xdr_pmaplist)
+libc_hidden_proto(xdr_void)
/*
* Get a copy of the current port maps.
libc_hidden_proto(clntudp_bufcreate)
libc_hidden_proto(__rpc_thread_createerr)
+libc_hidden_proto(xdr_u_short)
+libc_hidden_proto(xdr_pmap)
static const struct timeval timeout =
{5, 0};
libc_hidden_proto(xdr_u_long)
+libc_hidden_proto(xdr_pmap)
bool_t
xdr_pmap (xdrs, regs)
XDR *xdrs;
return xdr_u_long (xdrs, ®s->pm_port);
return FALSE;
}
+libc_hidden_def(xdr_pmap)
libc_hidden_proto(xdr_bool)
libc_hidden_proto(xdr_reference)
+libc_hidden_proto(xdr_pmap)
/*
* What is going on with linked lists? (!)
* the net, yet is the data that the pointer points to which is interesting;
* this sounds like a job for xdr_reference!
*/
+libc_hidden_proto(xdr_pmaplist)
bool_t
xdr_pmaplist (xdrs, rp)
XDR *xdrs;
rp = freeing ? next : &((*rp)->pml_next);
}
}
+libc_hidden_def(xdr_pmaplist)
libc_hidden_proto(xdr_replymsg)
libc_hidden_proto(xdr_reference)
libc_hidden_proto(xdr_u_long)
+libc_hidden_proto(xdr_void)
+libc_hidden_proto(xdr_rmtcallres)
libc_hidden_proto(inet_makeaddr)
libc_hidden_proto(inet_netof)
libc_hidden_proto(clntudp_create)
}
return FALSE;
}
+libc_hidden_def(xdr_rmtcallres)
/*
libc_hidden_proto(fopen)
libc_hidden_proto(fclose)
libc_hidden_proto(fprintf)
+libc_hidden_proto(__h_errno_location)
libc_hidden_proto(rresvport)
libc_hidden_proto(svcerr_decode)
libc_hidden_proto(svcudp_create)
libc_hidden_proto(pmap_unset)
+libc_hidden_proto(xdr_void)
struct proglst_
{
/*
* XDR nothing
*/
+libc_hidden_proto(xdr_void)
bool_t
xdr_void (void)
{
return TRUE;
}
+libc_hidden_def(xdr_void)
/*
* XDR long integers
/*
* XDR unsigned short integers
*/
+libc_hidden_proto(xdr_u_short)
bool_t
xdr_u_short (XDR *xdrs, u_short *usp)
{
}
return FALSE;
}
+libc_hidden_def(xdr_u_short)
/*
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
-#include "error.h"
+#include <error.h>
libc_hidden_proto(strcmp)
libc_hidden_proto(strerror)
#include <netdb.h>
#undef h_errno
+libc_hidden_proto(__h_errno_location)
int * weak_const_function __h_errno_location (void)
{
return &h_errno;
}
-
+libc_hidden_def(__h_errno_location)
#include <bits/uClibc_uwchar.h>
libc_hidden_proto(strcmp)
+libc_hidden_proto(tolower)
+libc_hidden_proto(toupper)
libc_hidden_proto(towlower)
libc_hidden_proto(towupper)
libc_hidden_proto(towctrans)
#endif /* SMALL_UPLOW */
#ifdef L_towlower_l
-//libc_hidden_proto(towlower_l)
libc_hidden_def(towlower_l)
#endif /* L_towlower_l */
#endif /* __LOCALE_C_ONLY */
#ifndef L_towlower_l
-//libc_hidden_proto(towlower)
libc_hidden_def(towlower)
#endif
#endif /* SMALL_UPLOW */
#ifdef L_towupper_l
-//libc_hidden_proto(towupper_l)
libc_hidden_def(towupper_l)
#endif /* L_towupper_l */
#endif /* __LOCALE_C_ONLY */
#ifndef L_towupper_l
-//libc_hidden_proto(towupper)
libc_hidden_def(towupper)
#endif
#endif /* defined(L_iswctype) && defined(__UCLIBC_HAS_XLOCALE__) */
#ifdef L_iswctype_l
-//libc_hidden_proto(iswctype_l)
libc_hidden_def(iswctype_l)
#endif /* L_iswctype_l */
#endif /* __LOCALE_C_ONLY */
#ifdef L_iswctype
-//libc_hidden_proto(iswctype)
libc_hidden_def(iswctype)
#endif /* L_iswctype */
#endif /* defined(L_towctrans) && defined(__UCLIBC_HAS_XLOCALE__) */
#ifdef L_towctrans_l
-//libc_hidden_proto(towctrans_l)
libc_hidden_def(towctrans_l)
#endif /* L_towctrans_l */
#endif /* __LOCALE_C_ONLY */
#ifndef L_towctrans_l
-//libc_hidden_proto(towctrans)
libc_hidden_def(towctrans)
#endif
(__PA_FLAG_CHAR|PA_FLAG_SHORT|__PA_FLAG_INT|PA_FLAG_LONG|PA_FLAG_LONG_LONG)
#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__
-extern printf_function _custom_printf_handler[MAX_USER_SPEC];
-extern printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC];
-extern char *_custom_printf_spec;
+extern printf_function _custom_printf_handler[MAX_USER_SPEC] attribute_hidden;
+extern printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC] attribute_hidden;
+extern char *_custom_printf_spec attribute_hidden;
#endif /* __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__ */
/**********************************************************************/
/* TODO - do this differently? */
static char _bss_custom_printf_spec[MAX_USER_SPEC]; /* 0-init'd for us. */
-char *_custom_printf_spec = _bss_custom_printf_spec;
-printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC];
-printf_function _custom_printf_handler[MAX_USER_SPEC];
+attribute_hidden char *_custom_printf_spec = _bss_custom_printf_spec;
+attribute_hidden printf_arginfo_function *_custom_printf_arginfo[MAX_USER_SPEC];
+attribute_hidden printf_function _custom_printf_handler[MAX_USER_SPEC];
#endif /* __UCLIBC_HAS_GLIBC_CUSTOM_PRINTF__ */
int attribute_hidden _ppfs_parsespec(ppfs_t *ppfs)