about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ttyname.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-31 18:25:55 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-31 18:52:00 +0200
commitb41bd5bc83b23f62f6f0815d20ed1e1185c58086 (patch)
tree9c2e9a6a37de9eef8efca447fbd4a87b0d3a0923 /sysdeps/unix/sysv/linux/ttyname.c
parent83b09837ed5c106840d0f069a81eed41a646bff3 (diff)
downloadglibc-b41bd5bc83b23f62f6f0815d20ed1e1185c58086.tar.gz
glibc-b41bd5bc83b23f62f6f0815d20ed1e1185c58086.tar.xz
glibc-b41bd5bc83b23f62f6f0815d20ed1e1185c58086.zip
posix: Remove internal_function attribute
Diffstat (limited to 'sysdeps/unix/sysv/linux/ttyname.c')
-rw-r--r--sysdeps/unix/sysv/linux/ttyname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/ttyname.c b/sysdeps/unix/sysv/linux/ttyname.c
index 5909cb765f..116cf350e5 100644
--- a/sysdeps/unix/sysv/linux/ttyname.c
+++ b/sysdeps/unix/sysv/linux/ttyname.c
@@ -36,14 +36,12 @@ char *__ttyname;
 #endif
 
 static char *getttyname (const char *dev, dev_t mydev,
-			 ino64_t myino, int save, int *dostat)
-     internal_function;
-
+			 ino64_t myino, int save, int *dostat);
 
 libc_freeres_ptr (static char *getttyname_name);
 
 static char *
-internal_function attribute_compat_text_section
+attribute_compat_text_section
 getttyname (const char *dev, dev_t mydev, ino64_t myino, int save, int *dostat)
 {
   static size_t namelen;