aboutsummaryrefslogtreecommitdiff
path: root/login
diff options
context:
space:
mode:
Diffstat (limited to 'login')
-rw-r--r--login/getutent_r.c4
-rw-r--r--login/getutid_r.c4
-rw-r--r--login/getutline_r.c4
-rw-r--r--login/utmp-private.h10
-rw-r--r--login/utmpname.c4
5 files changed, 13 insertions, 13 deletions
diff --git a/login/getutent_r.c b/login/getutent_r.c
index 38626c1..e96945e 100644
--- a/login/getutent_r.c
+++ b/login/getutent_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996,1997,1998,2000,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,2000,2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>
and Paul Janzen <pcj@primenet.com>, 1996.
@@ -51,7 +51,7 @@ struct utfuncs __libc_utmp_unknown_functions =
struct utfuncs *__libc_utmp_jump_table = &__libc_utmp_unknown_functions;
/* We need to protect the opening of the file. */
-__libc_lock_define_initialized (, __libc_utmp_lock)
+__libc_lock_define_initialized (, __libc_utmp_lock attribute_hidden)
static int
diff --git a/login/getutid_r.c b/login/getutid_r.c
index 144173a..03b6d2d 100644
--- a/login/getutid_r.c
+++ b/login/getutid_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>
and Paul Janzen <pcj@primenet.com>, 1996.
@@ -27,7 +27,7 @@
/* We have to use the lock in getutent_r.c. */
-__libc_lock_define (extern, __libc_utmp_lock)
+__libc_lock_define (extern, __libc_utmp_lock attribute_hidden)
/* The jump table is also in getutent_r.c. */
extern struct utfuncs *__libc_utmp_jump_table;
diff --git a/login/getutline_r.c b/login/getutline_r.c
index 2e57b28..35c510b 100644
--- a/login/getutline_r.c
+++ b/login/getutline_r.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>
and Paul Janzen <pcj@primenet.com>, 1996.
@@ -26,7 +26,7 @@
/* We have to use the lock in getutent_r.c. */
-__libc_lock_define (extern, __libc_utmp_lock)
+__libc_lock_define (extern, __libc_utmp_lock attribute_hidden)
/* The jump table is also in getutent_r.c. */
extern struct utfuncs *__libc_utmp_jump_table;
diff --git a/login/utmp-private.h b/login/utmp-private.h
index a74fae0..14b52b0 100644
--- a/login/utmp-private.h
+++ b/login/utmp-private.h
@@ -1,5 +1,5 @@
/* Internal definitions and declarations for UTMP functions.
- Copyright (C) 1996, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1996, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>
and Paul Janzen <pcj@primenet.com>, 1996.
@@ -37,13 +37,13 @@ struct utfuncs
};
/* The tables from the services. */
-extern struct utfuncs __libc_utmp_file_functions;
-extern struct utfuncs __libc_utmp_unknown_functions;
+extern struct utfuncs __libc_utmp_file_functions attribute_hidden;
+extern struct utfuncs __libc_utmp_unknown_functions attribute_hidden;
/* Currently selected backend. */
-extern struct utfuncs *__libc_utmp_jump_table;
+extern struct utfuncs *__libc_utmp_jump_table attribute_hidden;
/* Current file name. */
-extern const char *__libc_utmp_file_name;
+extern const char *__libc_utmp_file_name attribute_hidden;
#endif /* utmp-private.h */
diff --git a/login/utmpname.c b/login/utmpname.c
index daa3c23..875dbd5 100644
--- a/login/utmpname.c
+++ b/login/utmpname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Mark Kettenis <kettenis@phys.uva.nl>, 1997.
@@ -32,7 +32,7 @@ static const char default_file_name[] = _PATH_UTMP;
const char *__libc_utmp_file_name = (const char *) default_file_name;
/* We have to use the lock in getutent_r.c. */
-__libc_lock_define (extern, __libc_utmp_lock)
+__libc_lock_define (extern, __libc_utmp_lock attribute_hidden)
int