mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
41e0d4b68d
Tracking issue: #31696
15 lines
349 B
Diff
15 lines
349 B
Diff
diff --git a/src/getopt.h b/src/getopt.h
|
|
index 4394aa2..bf59e10 100644
|
|
--- a/src/getopt.h
|
|
+++ b/src/getopt.h
|
|
@@ -49,9 +49,6 @@ extern int optind;
|
|
extern int opterr;
|
|
extern int optopt;
|
|
|
|
-#ifndef FreeBSD
|
|
-int getopt(int argc, char** argv, char* optstr);
|
|
-#endif
|
|
int arg_to_int(const char* arg, int min, int max, int defalt);
|
|
|
|
#ifdef __cplusplus
|