X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fdfm.c;h=b5023a82ef9caeeb0c6af468d6c90ea27ec9051d;hb=5382abe75bbd1689aca8c922fbf084af9f6bd723;hp=0b231208b8a686b8eb9b8dc4f64e317efeed2f26;hpb=fcb9e49b2a2d57af7c001ae5d2eda9ac443ba36b;p=pspp diff --git a/src/dfm.c b/src/dfm.c index 0b231208b8..b5023a82ef 100644 --- a/src/dfm.c +++ b/src/dfm.c @@ -17,25 +17,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* 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 "dfm.h" #include #include #include @@ -485,6 +469,8 @@ eof: char * dfm_get_record (struct file_handle *h, int *len) { + assert (h != NULL); + if (h->class == NULL) { if (!open_file_r (h))