|
|
| version 1.2, 2003/06/17 04:27:07 | version 1.3, 2003/11/14 03:54:30 |
|---|---|
| Line 33 | Line 33 |
| * @(#) Copyright (c) 1980, 1993 The Regents of the University of California. All rights reserved. | * @(#) Copyright (c) 1980, 1993 The Regents of the University of California. All rights reserved. |
| * @(#)from: main.c 8.1 (Berkeley) 6/20/93 | * @(#)from: main.c 8.1 (Berkeley) 6/20/93 |
| * $FreeBSD: src/libexec/getty/main.c,v 1.28.2.4 2003/02/06 11:45:31 sobomax Exp $ | * $FreeBSD: src/libexec/getty/main.c,v 1.28.2.4 2003/02/06 11:45:31 sobomax Exp $ |
| * $DragonFly: src/libexec/getty/main.c,v 1.1 2003/06/16 04:58:56 dillon Exp $ | * $DragonFly$ |
| */ | */ |
| #include <sys/param.h> | #include <sys/param.h> |
| Line 122 char partab[] = { | Line 122 char partab[] = { |
| #define puts Gputs | #define puts Gputs |
| static void dingdong __P((int)); | static void dingdong (int); |
| static int getname __P((void)); | static int getname (void); |
| static void interrupt __P((int)); | static void interrupt (int); |
| static void oflush __P((void)); | static void oflush (void); |
| static void prompt __P((void)); | static void prompt (void); |
| static void putchr __P((int)); | static void putchr (int); |
| static void putf __P((const char *)); | static void putf (const char *); |
| static void putpad __P((const char *)); | static void putpad (const char *); |
| static void puts __P((const char *)); | static void puts (const char *); |
| static void timeoverrun __P((int)); | static void timeoverrun (int); |
| static char *getline __P((int)); | static char *getline (int); |
| static void setttymode __P((const char *, int)); | static void setttymode (const char *, int); |
| static void setdefttymode __P((const char *)); | static void setdefttymode (const char *); |
| static int opentty __P((const char *, int)); | static int opentty (const char *, int); |
| int main __P((int, char **)); | int main (int, char **); |
| jmp_buf timeout; | jmp_buf timeout; |