2013-01-20 Paul Smith <psmith@gnu.org>
+ * gnumake.h: New file to contain externally-visible content.
+ * makeint.h: Include gnumake.h. Move gmk_floc type to gnumake.h.
+ * Makefile.am (include_HEADERS): Install the gnumake.h header.
+
* makeint.h: Change struct floc to gmk_floc typedef.
* Many: Use the new typedef.
# 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 <signal.h> so
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)
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);