aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 15:56:32 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 15:59:06 +0200
commit75b3047eac76779f4e7902a9f47a6410bfdcc32f (patch)
tree532e0ed357695f1309487e53fd493ee1df3eeafb /nss
parent0c71122c0cee483a4e6abcdbe78a1595eefe86e2 (diff)
downloadglibc-75b3047eac76779f4e7902a9f47a6410bfdcc32f.tar
glibc-75b3047eac76779f4e7902a9f47a6410bfdcc32f.tar.gz
glibc-75b3047eac76779f4e7902a9f47a6410bfdcc32f.tar.bz2
glibc-75b3047eac76779f4e7902a9f47a6410bfdcc32f.zip
NSS: Remove internal_function function attribute
Diffstat (limited to 'nss')
-rw-r--r--nss/nsswitch.c13
-rw-r--r--nss/rewrite_field.c1
-rw-r--r--nss/valid_field.c1
-rw-r--r--nss/valid_list_field.c1
4 files changed, 4 insertions, 12 deletions
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index 834bef6f9c..8a146b956f 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -42,13 +42,12 @@
#include <sysdep.h>
/* Prototypes for the local functions. */
-static name_database *nss_parse_file (const char *fname) internal_function;
-static name_database_entry *nss_getline (char *line) internal_function;
-static service_user *nss_parse_service_list (const char *line)
- internal_function;
+static name_database *nss_parse_file (const char *fname);
+static name_database_entry *nss_getline (char *line);
+static service_user *nss_parse_service_list (const char *line);
#if !defined DO_STATIC_NSS || defined SHARED
static service_library *nss_new_service (name_database *database,
- const char *name) internal_function;
+ const char *name);
#endif
@@ -532,7 +531,6 @@ libc_hidden_def (__nss_lookup_function)
static name_database *
-internal_function
nss_parse_file (const char *fname)
{
FILE *fp;
@@ -608,7 +606,6 @@ nss_parse_file (const char *fname)
`( <source> ( "[" "!"? (<status> "=" <action> )+ "]" )? )*'
*/
static service_user *
-internal_function
nss_parse_service_list (const char *line)
{
service_user *result = NULL, **nextp = &result;
@@ -757,7 +754,6 @@ nss_parse_service_list (const char *line)
}
static name_database_entry *
-internal_function
nss_getline (char *line)
{
const char *name;
@@ -799,7 +795,6 @@ nss_getline (char *line)
#if !defined DO_STATIC_NSS || defined SHARED
static service_library *
-internal_function
nss_new_service (name_database *database, const char *name)
{
service_library **currentp = &database->library;
diff --git a/nss/rewrite_field.c b/nss/rewrite_field.c
index c0ae3d23f2..3c456fe22d 100644
--- a/nss/rewrite_field.c
+++ b/nss/rewrite_field.c
@@ -24,7 +24,6 @@
overwritten with a pointer the caller has to free if the function
returns successfully. On failure, return NULL. */
const char *
-internal_function
__nss_rewrite_field (const char *value, char **to_be_freed)
{
*to_be_freed = NULL;
diff --git a/nss/valid_field.c b/nss/valid_field.c
index 88c41a81a0..5146b9cce9 100644
--- a/nss/valid_field.c
+++ b/nss/valid_field.c
@@ -24,7 +24,6 @@ const char __nss_invalid_field_characters[] = NSS_INVALID_FIELD_CHARACTERS;
does not contain characters not permitted in NSS database
fields. */
_Bool
-internal_function
__nss_valid_field (const char *value)
{
return value == NULL
diff --git a/nss/valid_list_field.c b/nss/valid_list_field.c
index 9763c89bcd..1d82519299 100644
--- a/nss/valid_list_field.c
+++ b/nss/valid_list_field.c
@@ -24,7 +24,6 @@ static const char invalid_characters[] = NSS_INVALID_FIELD_CHARACTERS ",";
/* Check that all list members match the field syntax requirements and
do not contain the character ','. */
_Bool
-internal_function
__nss_valid_list_field (char **list)
{
if (list == NULL)