summaryrefslogtreecommitdiff
path: root/libexec/telnetd/state.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 07:53:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 07:53:28 +0000
commitad3dc5b9f3cf3d2227d56ed40aeb8b203fc362c8 (patch)
treef6fdc716aeffc9c5c3b1031eac8ea1b41d78b696 /libexec/telnetd/state.c
parente985c54ca22a1b161106287b8b7494e393cc38eb (diff)
simple protos
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r--libexec/telnetd/state.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c
index ec38a51060f..2daab2c4600 100644
--- a/libexec/telnetd/state.c
+++ b/libexec/telnetd/state.c
@@ -425,14 +425,14 @@ send_do(int option, int init)
extern void auth_request(void);
#endif
#ifdef ENCRYPTION
-extern void encrypt_send_support();
+extern void encrypt_send_support(void);
#endif
void
willoption(int option)
{
int changeok = 0;
- void (*func)() = 0;
+ void (*func)(void) = 0;
/*
* process input from peer.
@@ -908,6 +908,8 @@ char *badenv_table[] = {
NULL,
};
+static int envvarok(char *);
+
/* envvarok(char*) */
/* check that variable is safe to pass to login or shell */
static int