From ac1c6b404adb22928799875f957d18cf83284962 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 20 Jan 2013 13:39:54 -0500 Subject: Create externally referencable header file "gnumake.h". Move the gmk_floc type to gnumake.h. --- makeint.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'makeint.h') diff --git a/makeint.h b/makeint.h index 920ea07..6f2ee67 100644 --- a/makeint.h +++ b/makeint.h @@ -47,6 +47,9 @@ char *alloca (); # define NDEBUG 1 #endif +/* Include the externally-visible content. + Be sure to use the local one, and not one installed on the system. */ +#include "gnumake.h" #ifdef CRAY /* This must happen before #include so @@ -362,11 +365,6 @@ extern int unixy_shell; extern struct rlimit stack_limit; #endif -typedef struct - { - const char *filenm; - unsigned long lineno; - } gmk_floc; #define NILF ((gmk_floc *)0) #define CSTRLEN(_s) (sizeof (_s)-1) @@ -424,9 +422,9 @@ int ar_touch (const char *); time_t ar_member_date (const char *); typedef long int (*ar_member_func_t) (int desc, const char *mem, int truncated, - long int hdrpos, long int datapos, - long int size, long int date, int uid, - int gid, int mode, const void *arg); + long int hdrpos, long int datapos, + long int size, long int date, int uid, + int gid, int mode, const void *arg); long int ar_scan (const char *archive, ar_member_func_t function, const void *arg); int ar_name_equal (const char *name, const char *mem, int truncated); -- cgit v1.2.3