Commit f71d8e050178ab23ab9b06ee4ccab901ce4284bf

Guillem Jover 2012-03-21T04:10:37

Remove bogus deprecation warning from <getopt.h>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/include/bsd/getopt.h b/include/bsd/getopt.h
index 697f940..52a8f9c 100644
--- a/include/bsd/getopt.h
+++ b/include/bsd/getopt.h
@@ -31,7 +31,6 @@
 #include_next <getopt.h>
 #include <unistd.h>
 #else
-#warning "Deprecated header, use <bsd/unistd.h> or <unistd.h> with libbsd-overlay.pc instead."
 #include <getopt.h>
 #include <bsd/unistd.h>
 #endif