summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-01-20 13:16:46 -0500
committerPaul Smith <psmith@gnu.org>2013-01-20 13:16:46 -0500
commit51fb930ef2ec8c479fb113ae6b3d5549a0bab892 (patch)
tree5d8fdb41d3bec8bead6760855843d73e9afbc287 /commands.h
parenta45f25ece30e4101ae77c90d2270d253ea9a82ec (diff)
downloadgunmake-51fb930ef2ec8c479fb113ae6b3d5549a0bab892.tar.gz
Rename struct floc to typedef gmk_floc as an externally scoped symbol.
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/commands.h b/commands.h
index b2f9bdf..5bc32ba 100644
--- a/commands.h
+++ b/commands.h
@@ -19,20 +19,20 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
struct commands
{
- struct floc fileinfo; /* Where commands were defined. */
- char *commands; /* Commands text. */
- char **command_lines; /* Commands chopped up into lines. */
- char *lines_flags; /* One set of flag bits for each line. */
+ gmk_floc fileinfo; /* Where commands were defined. */
+ char *commands; /* Commands text. */
+ char **command_lines; /* Commands chopped up into lines. */
+ char *lines_flags; /* One set of flag bits for each line. */
unsigned short ncommand_lines;/* Number of command lines. */
char recipe_prefix; /* Recipe prefix for this command set. */
unsigned int any_recurse:1; /* Nonzero if any 'lines_flags' elt has */
- /* the COMMANDS_RECURSE bit set. */
+ /* the COMMANDS_RECURSE bit set. */
};
/* Bits in 'lines_flags'. */
-#define COMMANDS_RECURSE 1 /* Recurses: + or $(MAKE). */
-#define COMMANDS_SILENT 2 /* Silent: @. */
-#define COMMANDS_NOERROR 4 /* No errors: -. */
+#define COMMANDS_RECURSE 1 /* Recurses: + or $(MAKE). */
+#define COMMANDS_SILENT 2 /* Silent: @. */
+#define COMMANDS_NOERROR 4 /* No errors: -. */
void execute_file_commands (struct file *file);
void print_commands (const struct commands *cmds);