diff options
author | Ken Raeburn <raeburn@mit.edu> | 2001-10-10 03:18:22 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2001-10-10 03:18:22 +0000 |
commit | 7613acc70e37ebabd7743da02da4f4ff0d218d5c (patch) | |
tree | ea7b08ad73cfb7cd8a5ca8e77a9fb646770804f0 /src/appl/telnet/telnetd/telnetd.c | |
parent | ad4d9f8d0f83524931da62aebb592ab53f2218d9 (diff) | |
download | krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.zip krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.tar.gz krb5-7613acc70e37ebabd7743da02da4f4ff0d218d5c.tar.bz2 |
Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;
don't worry about restoring them when importing new versions of code.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl/telnet/telnetd/telnetd.c')
-rw-r--r-- | src/appl/telnet/telnetd/telnetd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/appl/telnet/telnetd/telnetd.c b/src/appl/telnet/telnetd/telnetd.c index 4dd9804..aefcacf 100644 --- a/src/appl/telnet/telnetd/telnetd.c +++ b/src/appl/telnet/telnetd/telnetd.c @@ -135,8 +135,8 @@ char ptyibuf2[BUFSIZ]; #endif /* ! STREAMPTY */ -static void doit P((struct sockaddr *)); -int terminaltypeok P((char *)); +static void doit (struct sockaddr *); +int terminaltypeok (char *); static void _gettermname(void); int hostinfo = 1; /* do we print login banner? */ @@ -154,7 +154,7 @@ int maxhostlen = 0; int always_ip = 0; int stripdomain = 1; -extern void usage P((void)); +extern void usage (void); /* * The string to pass to getopt(). We do it this way so @@ -917,9 +917,9 @@ char remote_host_name[MAXDNAME]; char *rhost_sane; #ifndef convex -extern void telnet P((int, int)); +extern void telnet (int, int); #else -extern void telnet P((int, int, char *)); +extern void telnet (int, int, char *); #endif /* |