diff options
Diffstat (limited to 'lib/libpm.c')
-rw-r--r-- | lib/libpm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpm.c b/lib/libpm.c index b335debb..47a2f498 100644 --- a/lib/libpm.c +++ b/lib/libpm.c @@ -9,7 +9,6 @@ **************************************************************************/ #define _DEFAULT_SOURCE /* New name for SVID & BSD source defines */ -#define _BSD_SOURCE /* Make sure strdup is in string.h */ #define _XOPEN_SOURCE 500 /* Make sure ftello, fseeko are defined */ #include "netpbm/pm_config.h" @@ -439,7 +438,8 @@ pm_maxvaltobits(int const maxval) { return 16; else pm_error( "maxval of %d is too large!", maxval ); - return -1; /* Should never come here */ + + assert(false); } int |