diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-24 11:50:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-24 11:50:56 +0000 |
commit | 2c4c02dca656b6af052e4f2ed72b651bcbefd337 (patch) | |
tree | c57f031c1e18bd64bec35a7ef1c0f987e3e06660 /libexec/ftpd/popen.c | |
parent | 4cd1708a51cb0aab93eb8471d04950d50f537731 (diff) |
proto ls_main()
Diffstat (limited to 'libexec/ftpd/popen.c')
-rw-r--r-- | libexec/ftpd/popen.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c index 696d835b3b5..c5b1b247b72 100644 --- a/libexec/ftpd/popen.c +++ b/libexec/ftpd/popen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: popen.c,v 1.11 1999/12/08 13:15:21 itojun Exp $ */ +/* $OpenBSD: popen.c,v 1.12 2001/01/24 11:50:55 deraadt Exp $ */ /* $NetBSD: popen.c,v 1.5 1995/04/11 02:45:00 cgd Exp $ */ /* @@ -151,6 +151,8 @@ ftpd_popen(program, type) if (strcmp(gargv[0], "/bin/ls") == 0) { extern int optreset; + extern int ls_main(int, char **); + /* reset getopt for ls_main */ optreset = optind = 1; exit(ls_main(gargc, gargv)); |