summaryrefslogtreecommitdiff
path: root/include/ttyent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ttyent.h')
-rw-r--r--include/ttyent.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/ttyent.h b/include/ttyent.h
index 0b221bccf..63df44921 100644
--- a/include/ttyent.h
+++ b/include/ttyent.h
@@ -48,7 +48,7 @@ struct ttyent {
#define TTY_ON 0x01 /* enable logins (start ty_getty program) */
#define TTY_SECURE 0x02 /* allow uid of 0 to login */
int ty_status; /* status flags */
- char *ty_window; /* command to start up window manager */
+ char *ty_window; /* command to start up window manager */
char *ty_comment; /* comment field */
};
@@ -56,9 +56,12 @@ struct ttyent {
__BEGIN_DECLS
extern struct ttyent *getttyent (void) __THROW;
-extern struct ttyent *getttynam (__const char *__tty) __THROW;
+libc_hidden_proto(getttyent)
+extern struct ttyent *getttynam (const char *__tty) __THROW;
extern int setttyent (void) __THROW;
+libc_hidden_proto(setttyent)
extern int endttyent (void) __THROW;
+libc_hidden_proto(endttyent)
__END_DECLS