mirror of
https://git.code.sf.net/p/zint/code
synced 2025-12-17 18:07:02 +00:00
test_library: suppress size_t -> int warning
getopt: suppress `-Wdeprecated-non-prototype` warnings
This commit is contained in:
@@ -197,7 +197,8 @@ static char *posixly_correct;
|
||||
whose names are inconsistent. */
|
||||
|
||||
#ifndef getenv
|
||||
extern char *getenv ();
|
||||
/* zint: prototype it to avoid warning `-Wdeprecated-non-prototype` (will be error in C2x) */
|
||||
extern char *getenv (const char *); /* was extern char *getenv (); */
|
||||
#endif
|
||||
|
||||
#endif /* not __GNU_LIBRARY__ */
|
||||
|
||||
Reference in New Issue
Block a user