X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcrosstabs.q;h=7502259a4ad6fdd476a50cc58d53f271d30ad7a9;hb=7b98b3a4f58f6dc5a8e9cbc188b627966d5e652d;hp=bf89d377cab49efdd3607d9eb9a2738b26b8130b;hpb=3a7fba81ceae5b049d0f7d671e9e3c3c43bbf703;p=pspp diff --git a/src/crosstabs.q b/src/crosstabs.q index bf89d377ca..7502259a4a 100644 --- a/src/crosstabs.q +++ b/src/crosstabs.q @@ -29,24 +29,7 @@ */ -/* AIX requires this to be the first thing in the file. */ #include -#if __GNUC__ -#define alloca __builtin_alloca -#else -#if HAVE_ALLOCA_H -#include -#else -#ifdef _AIX -#pragma alloca -#else -#ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); -#endif -#endif -#endif -#endif - #include #include #include @@ -55,7 +38,6 @@ char *alloca (); #include "alloc.h" #include "hash.h" #include "pool.h" -#include "dcdflib/cdflib.h" #include "command.h" #include "lexer.h" #include "error.h" @@ -302,7 +284,7 @@ internal_cmd_crosstabs (void) /* Parses the TABLES subcommand. */ static int -crs_custom_tables (struct cmd_crosstabs *cmd unused) +crs_custom_tables (struct cmd_crosstabs *cmd UNUSED) { struct var_set *var_set; int n_by; @@ -401,7 +383,7 @@ crs_custom_tables (struct cmd_crosstabs *cmd unused) /* Parses the VARIABLES subcommand. */ static int -crs_custom_variables (struct cmd_crosstabs *cmd unused) +crs_custom_variables (struct cmd_crosstabs *cmd UNUSED) { if (nxtab) { @@ -754,7 +736,7 @@ print_table_entries (struct table_entry **tab) /* Compare the table_entry's at A and B and return a strcmp()-type result. */ static int -compare_table_entry (const void *a_, const void *b_, void *foo unused) +compare_table_entry (const void *a_, const void *b_, void *foo UNUSED) { const struct table_entry *a = a_; const struct table_entry *b = b_; @@ -793,7 +775,7 @@ compare_table_entry (const void *a_, const void *b_, void *foo unused) /* Calculate a hash value from table_entry PA. */ static unsigned -hash_table_entry (const void *pa, void *foo unused) +hash_table_entry (const void *pa, void *foo UNUSED) { const struct table_entry *a = pa; unsigned long hash = a->table;