summary refs log tree commit diff
path: root/sysdeps/posix
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/posix
parent83b09837ed5c106840d0f069a81eed41a646bff3 (diff)
downloadglibc-b41bd5bc83b23f62f6f0815d20ed1e1185c58086.tar.gz
glibc-b41bd5bc83b23f62f6f0815d20ed1e1185c58086.tar.xz
glibc-b41bd5bc83b23f62f6f0815d20ed1e1185c58086.zip
posix: Remove internal_function attribute
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/ttyname.c3
-rw-r--r--sysdeps/posix/ttyname_r.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/posix/ttyname.c b/sysdeps/posix/ttyname.c
index 288e22b307..b7497f3976 100644
--- a/sysdeps/posix/ttyname.c
+++ b/sysdeps/posix/ttyname.c
@@ -28,13 +28,12 @@
 char *__ttyname;
 
 static char *getttyname (int fd, dev_t mydev, ino_t myino,
-			 int save, int *dostat) internal_function;
+			 int save, int *dostat);
 
 
 libc_freeres_ptr (static char *getttyname_name);
 
 static char *
-internal_function
 getttyname (int fd, dev_t mydev, ino_t myino, int save, int *dostat)
 {
   static const char dev[] = "/dev";
diff --git a/sysdeps/posix/ttyname_r.c b/sysdeps/posix/ttyname_r.c
index 56bf18e4bc..2d10bf65d6 100644
--- a/sysdeps/posix/ttyname_r.c
+++ b/sysdeps/posix/ttyname_r.c
@@ -33,10 +33,9 @@ static const char dev[] = "/dev";
 
 static int getttyname_r (int fd, char *buf, size_t buflen,
 			 dev_t mydev, ino_t myino, int save,
-			 int *dostat) __THROW internal_function;
+			 int *dostat) __THROW;
 
 static int
-internal_function
 getttyname_r (int fd, char *buf, size_t buflen, dev_t mydev, ino_t myino,
 	      int save, int *dostat)
 {