about summary refs log tree commit diff
path: root/misc/ttyent.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ttyent.h')
-rw-r--r--misc/ttyent.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/ttyent.h b/misc/ttyent.h
index 9958d88886..0b221bccfa 100644
--- a/misc/ttyent.h
+++ b/misc/ttyent.h
@@ -55,10 +55,10 @@ struct ttyent {
 
 __BEGIN_DECLS
 
-extern struct ttyent *getttyent __P ((void));
-extern struct ttyent *getttynam __P ((__const char *__tty));
-extern int setttyent __P ((void));
-extern int endttyent __P ((void));
+extern struct ttyent *getttyent (void) __THROW;
+extern struct ttyent *getttynam (__const char *__tty) __THROW;
+extern int setttyent (void) __THROW;
+extern int endttyent (void) __THROW;
 
 __END_DECLS