freebsd-ports/devel/popt/files/patch-popt.h
Andrew Pantyukhin 2ec15bd3a7 - Remove qualifiers on some functions' return types
- This tweak pacifies gcc 4.x for ports depending
  on popt

Reported by:	pointyhat via kris
Discussed with:	rafan
2007-04-04 08:33:59 +00:00

11 lines
296 B
C

--- ./popt.h.orig Wed Apr 4 12:24:48 2007
+++ ./popt.h Wed Apr 4 12:25:14 2007
@@ -440,7 +440,7 @@
* @return error string
*/
/*@-redecl@*/
-/*@observer@*/ const char *const poptStrerror(const int error)
+/*@observer@*/ const char * poptStrerror(const int error)
/*@*/;
/*@=redecl@*/