summaryrefslogtreecommitdiffstats
path: root/src/appl/mailquery/mailquery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/appl/mailquery/mailquery.c')
-rw-r--r--src/appl/mailquery/mailquery.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/appl/mailquery/mailquery.c b/src/appl/mailquery/mailquery.c
index 9062127cca..b2102b037a 100644
--- a/src/appl/mailquery/mailquery.c
+++ b/src/appl/mailquery/mailquery.c
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include <sys/file.h>
#include <stdio.h>
+#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -40,6 +41,11 @@ extern int pop_debug;
int verbose = 0;
char *exec_cmd;
+void usage()
+{
+ fprintf(stderr, "usage: mailquery [-d] [-v] [-e cmd] [user[@host]]\n");
+}
+
main(argc, argv)
int argc;
char *argv[];
@@ -168,9 +174,3 @@ mailquery(mhost, user)
return nbytes;
}
-void usage()
-{
- fprintf(stderr, "usage: mailquery [-d] [-v] [-e cmd] [user[@host]]\n");
-}
-
-