summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-22 01:07:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-22 01:07:44 +0000
commit04b163798f550730faed41fa2cbe949cb00c07a2 (patch)
tree0ef58f3a1f66904d13e1d168fa57048e01b80072
parent63b94a1fdf758f61a98cbadbc3621ec1fdc9b0ab (diff)
fix "make utils" build failure in ldconfig
(undefined reference to 'getopt')
-rw-r--r--libc/unistd/getopt.c1
1 files changed, 1 insertions, 0 deletions
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,