summaryrefslogtreecommitdiff
path: root/include/ttyent.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
commit290e19f8147d9b3c0166d3520e718ae5603e4cef (patch)
tree3c77d58f8cd8115b861809560e644699341c14ee /include/ttyent.h
parent266bdc1f623fe6fe489e5115e0f8ef723705d949 (diff)
drop support for pre ISO-C compilers
This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/ttyent.h')
-rw-r--r--include/ttyent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ttyent.h b/include/ttyent.h
index 3166e83b2..63df44921 100644
--- a/include/ttyent.h
+++ b/include/ttyent.h
@@ -57,7 +57,7 @@ __BEGIN_DECLS
extern struct ttyent *getttyent (void) __THROW;
libc_hidden_proto(getttyent)
-extern struct ttyent *getttynam (__const char *__tty) __THROW;
+extern struct ttyent *getttynam (const char *__tty) __THROW;
extern int setttyent (void) __THROW;
libc_hidden_proto(setttyent)
extern int endttyent (void) __THROW;