summaryrefslogtreecommitdiff
path: root/lib/util/regress/glob/globtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util/regress/glob/globtest.c')
-rw-r--r--lib/util/regress/glob/globtest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/regress/glob/globtest.c b/lib/util/regress/glob/globtest.c
index ec8cef579..866535a1b 100644
--- a/lib/util/regress/glob/globtest.c
+++ b/lib/util/regress/glob/globtest.c
@@ -15,6 +15,7 @@
# include "compat/glob.h"
#endif
#include <errno.h>
+#include <unistd.h>
#include "sudo_compat.h"
#include "sudo_util.h"
@@ -183,7 +184,8 @@ main(int argc, char **argv)
return errors;
}
-int test_glob(struct gl_entry *entry)
+static int
+test_glob(struct gl_entry *entry)
{
glob_t gl;
char **ap;