mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
misc: Remove internal_function function attribute
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* misc/getttyent.c (skip, value): Remove internal_function.
|
||||||
|
* misc/syslog.c (openlog_internal): Likewise.
|
||||||
|
* misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
|
||||||
|
|
||||||
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
2017-08-31 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* include/nss.h (__nss_valid_field, __nss_valid_list_field)
|
* include/nss.h (__nss_valid_field, __nss_valid_list_field)
|
||||||
|
@ -57,8 +57,8 @@ __getttynam (const char *tty)
|
|||||||
}
|
}
|
||||||
weak_alias (__getttynam, getttynam)
|
weak_alias (__getttynam, getttynam)
|
||||||
|
|
||||||
static char *skip (char *) __THROW internal_function;
|
static char *skip (char *) __THROW;
|
||||||
static char *value (char *) __THROW internal_function;
|
static char *value (char *) __THROW;
|
||||||
|
|
||||||
struct ttyent *
|
struct ttyent *
|
||||||
__getttyent (void)
|
__getttyent (void)
|
||||||
@ -141,7 +141,6 @@ weak_alias (__getttyent, getttyent)
|
|||||||
* the next field.
|
* the next field.
|
||||||
*/
|
*/
|
||||||
static char *
|
static char *
|
||||||
internal_function
|
|
||||||
skip (char *p)
|
skip (char *p)
|
||||||
{
|
{
|
||||||
char *t;
|
char *t;
|
||||||
@ -175,7 +174,6 @@ skip (char *p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
internal_function
|
|
||||||
value (char *p)
|
value (char *p)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ extern char *__progname; /* Program name, from crt0. */
|
|||||||
/* Define the lock. */
|
/* Define the lock. */
|
||||||
__libc_lock_define_initialized (static, syslog_lock)
|
__libc_lock_define_initialized (static, syslog_lock)
|
||||||
|
|
||||||
static void openlog_internal(const char *, int, int) internal_function;
|
static void openlog_internal(const char *, int, int);
|
||||||
static void closelog_internal(void);
|
static void closelog_internal(void);
|
||||||
#ifndef NO_SIGPIPE
|
#ifndef NO_SIGPIPE
|
||||||
static void sigpipe_handler (int);
|
static void sigpipe_handler (int);
|
||||||
@ -330,7 +330,6 @@ static struct sockaddr_un SyslogAddr; /* AF_UNIX address of local logger */
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
internal_function
|
|
||||||
openlog_internal(const char *ident, int logstat, int logfac)
|
openlog_internal(const char *ident, int logstat, int logfac)
|
||||||
{
|
{
|
||||||
if (ident != NULL)
|
if (ident != NULL)
|
||||||
|
@ -684,7 +684,6 @@ weak_alias (__tdelete, tdelete)
|
|||||||
ROOT is the root of the tree to be walked, ACTION the function to be
|
ROOT is the root of the tree to be walked, ACTION the function to be
|
||||||
called at each node. LEVEL is the level of ROOT in the whole tree. */
|
called at each node. LEVEL is the level of ROOT in the whole tree. */
|
||||||
static void
|
static void
|
||||||
internal_function
|
|
||||||
trecurse (const void *vroot, __action_fn_t action, int level)
|
trecurse (const void *vroot, __action_fn_t action, int level)
|
||||||
{
|
{
|
||||||
const_node root = (const_node) vroot;
|
const_node root = (const_node) vroot;
|
||||||
@ -725,7 +724,6 @@ weak_alias (__twalk, twalk)
|
|||||||
/* The standardized functions miss an important functionality: the
|
/* The standardized functions miss an important functionality: the
|
||||||
tree cannot be removed easily. We provide a function to do this. */
|
tree cannot be removed easily. We provide a function to do this. */
|
||||||
static void
|
static void
|
||||||
internal_function
|
|
||||||
tdestroy_recurse (node root, __free_fn_t freefct)
|
tdestroy_recurse (node root, __free_fn_t freefct)
|
||||||
{
|
{
|
||||||
if (LEFT(root) != NULL)
|
if (LEFT(root) != NULL)
|
||||||
|
Reference in New Issue
Block a user