diff options
author | Paul Smith <psmith@gnu.org> | 2013-01-20 13:16:46 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-01-20 13:16:46 -0500 |
commit | 51fb930ef2ec8c479fb113ae6b3d5549a0bab892 (patch) | |
tree | 5d8fdb41d3bec8bead6760855843d73e9afbc287 /makeint.h | |
parent | a45f25ece30e4101ae77c90d2270d253ea9a82ec (diff) | |
download | gunmake-51fb930ef2ec8c479fb113ae6b3d5549a0bab892.tar.gz |
Rename struct floc to typedef gmk_floc as an externally scoped symbol.
Diffstat (limited to 'makeint.h')
-rw-r--r-- | makeint.h | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -362,12 +362,12 @@ extern int unixy_shell; extern struct rlimit stack_limit; #endif -struct floc +typedef struct { const char *filenm; unsigned long lineno; - }; -#define NILF ((struct floc *)0) + } gmk_floc; +#define NILF ((gmk_floc *)0) #define CSTRLEN(_s) (sizeof (_s)-1) #define STRING_SIZE_TUPLE(_s) (_s), CSTRLEN(_s) @@ -386,9 +386,9 @@ struct floc const char *concat (unsigned int, ...); void message (int prefix, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); -void error (const struct floc *flocp, const char *fmt, ...) +void error (const gmk_floc *flocp, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); -void fatal (const struct floc *flocp, const char *fmt, ...) +void fatal (const gmk_floc *flocp, const char *fmt, ...) __attribute__ ((noreturn, __format__ (__printf__, 2, 3))); #else const char *concat (); @@ -473,12 +473,12 @@ int strcache_setbufsize (unsigned int size); /* Guile support */ #ifdef HAVE_GUILE -int guile_gmake_setup (const struct floc *flocp); +int guile_gmake_setup (const gmk_floc *flocp); #endif /* Loadable object support. Sets to the strcached name of the loaded file. */ -typedef int (*load_func_t)(const struct floc *flocp); -int load_file (const struct floc *flocp, const char **filename, int noerror); +typedef int (*load_func_t)(const gmk_floc *flocp); +int load_file (const gmk_floc *flocp, const char **filename, int noerror); #ifdef HAVE_VFORK_H # include <vfork.h> @@ -527,8 +527,8 @@ int strncasecmp (const char *s1, const char *s2, int n); # endif #endif -extern const struct floc *reading_file; -extern const struct floc **expanding_var; +extern const gmk_floc *reading_file; +extern const gmk_floc **expanding_var; extern char **environ; |