From 04b163798f550730faed41fa2cbe949cb00c07a2 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 22 Nov 2008 01:07:44 +0000 Subject: fix "make utils" build failure in ldconfig (undefined reference to 'getopt') --- libc/unistd/getopt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc') diff --git a/libc/unistd/getopt.c b/libc/unistd/getopt.c index 1721a2ae7..d2020fe03 100644 --- a/libc/unistd/getopt.c +++ b/libc/unistd/getopt.c @@ -1180,6 +1180,7 @@ getopt (int argc, char *const *argv, const char *optstring) (int *) 0, 0); } +libc_hidden_def(getopt) int getopt_long (int argc, char *const *argv, const char *options, -- cgit v1.2.3