summaryrefslogtreecommitdiff
path: root/src/getoptb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getoptb.c')
-rw-r--r--src/getoptb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getoptb.c b/src/getoptb.c
index e0f6118..f64d0ef 100644
--- a/src/getoptb.c
+++ b/src/getoptb.c
@@ -5,7 +5,7 @@
/**
@file getoptb.c
@author djb
- @source ucspi-tcp
+ @ref ucspi-tcp
@brief 'getopt' version w/o stdlib
*/
@@ -15,7 +15,7 @@
int opterr = 1;
char *optprogname = 0;
-static int getopt(int argc, char **argv, char *opts)
+int getoptb(int argc, char **argv, char *opts)
{
int c;
char *s;