From a0f9ecf15d3b2fa4a0e6f4f2a1cb18152e091e12 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 10 Nov 2016 17:04:13 -0600 Subject: [PATCH] Remove references to old AST naming --- .../traveler/tools/libwld/wld_graphicfile.h | 6 ++-- graphics/traveler/tools/tcledit/tcl_edit.c | 28 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/graphics/traveler/tools/libwld/wld_graphicfile.h b/graphics/traveler/tools/libwld/wld_graphicfile.h index 139809489..202ebe327 100644 --- a/graphics/traveler/tools/libwld/wld_graphicfile.h +++ b/graphics/traveler/tools/libwld/wld_graphicfile.h @@ -38,8 +38,8 @@ * DESCRIPTION: *************************************************************************/ -#ifndef __ASTGRAPHICFILE_H -#define __ASTGRAPHICFILE_H +#ifndef __APPS_GRAPHICS_TRAVELER_TOOLS_LIBWLD_WLD_GRAPHIFILE_H +#define __APPS_GRAPHICS_TRAVELER_TOOLS_LIBWLD_WLD_GRAPHIFILE_H /************************************************************************* * Included files @@ -108,4 +108,4 @@ color_rgb_t wld_graphicfile_pixel(graphic_file_t *gFile, int x, int y); graphic_file_t *wld_readgraphic_file(char *filename); -#endif /* __ASTGRAPHICFILE_H */ +#endif /* __APPS_GRAPHICS_TRAVELER_TOOLS_LIBWLD_WLD_GRAPHIFILE_H */ diff --git a/graphics/traveler/tools/tcledit/tcl_edit.c b/graphics/traveler/tools/tcledit/tcl_edit.c index 4c447a4af..448ae38a2 100644 --- a/graphics/traveler/tools/tcledit/tcl_edit.c +++ b/graphics/traveler/tools/tcledit/tcl_edit.c @@ -165,7 +165,7 @@ static void tcledit_update_newmode_display(void) } } -/* Called in response to the "ast_seteditmode" Tcl command to set the +/* Called in response to the "seteditmode" Tcl command to set the * current edit mode */ @@ -236,7 +236,7 @@ static int tcledit_setmode(ClientData clientData, return TCL_OK; } -/* Called in response to the "ast_position" Tcl command */ +/* Called in response to the "position" Tcl command */ static int tcledit_new_position(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[]) @@ -260,7 +260,7 @@ static int tcledit_new_position(ClientData clientData, return TCL_OK; } -/* Called in response to the "ast_zoom" Tcl command */ +/* Called in response to the "zoom" Tcl command */ static int tcledit_new_zoom(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[]) @@ -330,7 +330,7 @@ static int tcledit_new_zoom(ClientData clientData, return TCL_OK; } -/* Called in response to the "ast_edit" Tcl command */ +/* Called in response to the "edit" Tcl command */ static int tcledit_new_edit(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[]) @@ -445,7 +445,7 @@ static int tcledit_new_edit(ClientData clientData, return TCL_OK; } -/* Called in response to the "ast_attribute" Tcl command */ +/* Called in response to the "attributes" Tcl command */ static int tcledit_new_attributes(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[]) @@ -526,7 +526,7 @@ static int tcledit_new_attributes(ClientData clientData, return TCL_OK; } -/* Called in response to the "ast_addrectangle" Tcl command */ +/* Called in response to the "addrectangle" Tcl command */ static int tcledit_add_rectangle(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[]) @@ -573,7 +573,7 @@ static int tcledit_add_rectangle(ClientData clientData, return TCL_OK; } -/* Called in response to the "ast_save" Tcl command */ +/* Called in response to the "save" Tcl command */ static int tcledit_save_rectangles(ClientData clientData, Tcl_Interp * interp, int argc, const char *argv[]) @@ -691,19 +691,19 @@ int Tcl_AppInit(Tcl_Interp * interp) /* Define application-specific commands */ - Tcl_CreateCommand(g_tcledit_interp, "ast_seteditmode", tcledit_setmode, + Tcl_CreateCommand(g_tcledit_interp, "seteditmode", tcledit_setmode, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); - Tcl_CreateCommand(g_tcledit_interp, "ast_position", tcledit_new_position, + Tcl_CreateCommand(g_tcledit_interp, "position", tcledit_new_position, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); - Tcl_CreateCommand(g_tcledit_interp, "ast_zoom", tcledit_new_zoom, + Tcl_CreateCommand(g_tcledit_interp, "zoom", tcledit_new_zoom, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); - Tcl_CreateCommand(g_tcledit_interp, "ast_edit", tcledit_new_edit, + Tcl_CreateCommand(g_tcledit_interp, "edit", tcledit_new_edit, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); - Tcl_CreateCommand(g_tcledit_interp, "ast_attributes", tcledit_new_attributes, + Tcl_CreateCommand(g_tcledit_interp, "attributes", tcledit_new_attributes, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); - Tcl_CreateCommand(g_tcledit_interp, "ast_addrectangle", tcledit_add_rectangle, + Tcl_CreateCommand(g_tcledit_interp, "addrectangle", tcledit_add_rectangle, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); - Tcl_CreateCommand(g_tcledit_interp, "ast_save", tcledit_save_rectangles, + Tcl_CreateCommand(g_tcledit_interp, "save", tcledit_save_rectangles, (ClientData) 0, (Tcl_CmdDeleteProc *) NULL); /* Initialize the Tcl parser */