diff --git a/test-parse-options.c b/test-parse-options.c
index a90bc3003d97f86fcc2210e340666106647eb74c..efa734b42e38d7f5a98393cd69ac0ffe10160ffc 100644 (file)
--- a/test-parse-options.c
+++ b/test-parse-options.c
static char *string = NULL;
static char *file = NULL;
-int length_callback(const struct option *opt, const char *arg, int unset)
+static int length_callback(const struct option *opt, const char *arg, int unset)
{
printf("Callback: \"%s\", %d\n",
(arg ? arg : "not set"), unset);
return 0;
}
-int number_callback(const struct option *opt, const char *arg, int unset)
+static int number_callback(const struct option *opt, const char *arg, int unset)
{
*(int *)opt->value = strtol(arg, NULL, 10);
return 0;