Commit 687a0f8e authored by Per Cederqvist's avatar Per Cederqvist

Xenofarm warning fixes.

* src/libraries/adns/src/check.c: Include <stdlib.h>, which is
needed since abort() is used here.
* scripts/warnings.sed: gcc 3.4.3 uses 'foo' instead of `foo' to
mark identifiers.  Adjusted a few warnings that were found by
various Xenofarm machines.
parent e142144d
2006-01-02 Per Cederqvist <ceder@lysator.liu.se>
Xenofarm warning fixes.
* src/libraries/adns/src/check.c: Include <stdlib.h>, which is
needed since abort() is used here.
* scripts/warnings.sed: gcc 3.4.3 uses 'foo' instead of `foo' to
mark identifiers. Adjusted a few warnings that were found by
various Xenofarm machines.
2006-01-01 Per Cederqvist <ceder@lysator.liu.se>
Since .cvsignore no longer exist, we cannot distribute it.
......
......@@ -26,8 +26,8 @@
# flex-2.5.4 generates some unused stuff.
/aux-item-def-scan.c:.*: warning: label `find_rule' defined but not used/d
/aux-item-def-scan.c:.*: warning: `yy_flex_realloc' defined but not used/d
/aux-item-def-scan.c:.*: warning: `yyunput' defined but not used/d
/aux-item-def-scan.c:.*: warning: ['`]yy_flex_realloc' defined but not used/d
/aux-item-def-scan.c:.*: warning: ['`]yyunput' defined but not used/d
# Quoted from src/server/getopt.h:
# /* Many other libraries have conflicting prototypes for getopt, with
......@@ -51,7 +51,7 @@
# This is a false warning from gcc 3.2 (seen oon AIX 4.3,
# castafiore.lysator.liu.se).
/getopt\.c:451: warning: `indfound' might be used uninitialized in this function/d
/getopt\.c:451: warning: ['`]indfound' might be used uninitialized in this function/d
# On AIX 4.3, with the /usr/vac/bin/cc compiler, sig_atomic_t is
# apparently a volatile type. The lyskom-server code uses "volatile
......@@ -118,7 +118,7 @@
/fsusage\.c:.*: warning: function declaration isn't a prototype/d
# On most systems, the `disk' parameter isn't used.
/fsusage\.c:104: warning: unused parameter `disk'/d
/fsusage\.c:104: warning: unused parameter [`']disk'/d
# The PROPAGATE_ALL_ONES macro gives this harmless warning on some systems.
/fsusage.c:.*: warning: comparison between signed and unsigned/d
......@@ -25,6 +25,7 @@
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <stdlib.h>
#include "internal.h"
void adns_checkconsistency(adns_state ads, adns_query qu) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment