header file #ifndef guard namespace consistency (global change)

This add an effective namespace prefix to the guard ifndef
This commit is contained in:
Darryl L. Miles 2024-10-16 07:38:41 +01:00 committed by R. Timothy Edwards
parent 5e17855f31
commit d55a2b74ac
85 changed files with 254 additions and 254 deletions

View File

@ -25,8 +25,8 @@
//
// ************************************************************************
#ifndef _BPENUM_H
#define _BPENUM_H
#ifndef _MAGIC__BPLANE__BPENUM_H
#define _MAGIC__BPLANE__BPENUM_H
/* bpEnum.h --
*
@ -534,4 +534,4 @@ static __inline__ void *BPEnumNext(BPEnum *bpe)
}
}
#endif /* _BPENUM_H */
#endif /* _MAGIC__BPLANE__BPENUM_H */

View File

@ -27,8 +27,8 @@
#ifndef _BPOPAQUE_H
#define _BPOPAQUE_H
#ifndef _MAGIC__BPLANE__BPOPAQUE_H
#define _MAGIC__BPLANE__BPOPAQUE_H
#ifndef _IHASH_H
#include "utils/ihash.h"
@ -192,4 +192,4 @@ typedef struct bpenum
BPStack bpe_stack[10000]; /* stack for tree traversal during enum */
} BPEnum;
#endif /* _BPOPAQUE_H */
#endif /* _MAGIC__BPLANE__BPOPAQUE_H */

View File

@ -27,8 +27,8 @@
#ifndef _BPLANE_H
#define _BPLANE_H
#ifndef _MAGIC__BPLANE__BPLANE_H
#define _MAGIC__BPLANE__BPLANE_H
/*
* bplane.h --
@ -232,4 +232,4 @@ BPStat(BPlane *bp,
int *totUnbinned, /* ret tot num of e's not binned */
int *maxDepth); /* ret max bin array depth */
#endif /* _BPLANE_H */
#endif /* _MAGIC__BPLANE__BPLANE_H */

View File

@ -33,8 +33,8 @@
* This file defines constants and datastructures used internally by the
* bplane module, but not exported to the rest of the world.
*/
#ifndef _BPLANEINT_H
#define _BPLANEINT_H
#ifndef _MAGIC__BPLANE__BPLANEINT_H
#define _MAGIC__BPLANE__BPLANEINT_H
/* Tcl linked Parameters */
extern int bpMinBAPop; /* don't sub(bin) when count less than this
@ -79,4 +79,4 @@ extern Plane *bpTestSnowTile(int size, bool trace);
extern int bpRand(int min, int max);
#endif /* _BPLANEINT_H */
#endif /* _MAGIC__BPLANE__BPLANEINT_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/calma/calma.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _CALMA_H
#define _CALMA_H
#ifndef _MAGIC__CALMA__CALMA_H
#define _MAGIC__CALMA__CALMA_H
#include "utils/magic.h"
@ -97,4 +97,4 @@ extern bool CalmaWriteZ(CellDef *rootDef, gzFile f);
extern bool CalmaGenerateArrayZ(gzFile f, TileType type, int llx, int lly, int pitch, int cols, int rows);
#endif
#endif /* _CALMA_H */
#endif /* _MAGIC__CALMA__CALMA_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/calma/calmaInt.h,v 1.2 2010/06/24 12:37:15 tim Exp $
*/
#ifndef _CALMAINT_H
#define _CALMAINT_H
#ifndef _MAGIC__CALMA__CALMAINT_H
#define _MAGIC__CALMA__CALMAINT_H
#include "utils/magic.h"
#include "database/database.h"
@ -274,4 +274,4 @@ extern Plane **cifCurReadPlanes;
extern HashTable CifCellTable;
extern Plane *cifEditCellPlanes[];
#endif /* _CALMAINT_H */
#endif /* _MAGIC__CALMA__CALMAINT_H */

View File

@ -19,8 +19,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/cif/CIFint.h,v 1.3 2008/12/04 17:10:29 tim Exp $"
*/
#ifndef _CIFINT_H
#define _CIFINT_H
#ifndef _MAGIC__CIF__CIFINT_H
#define _MAGIC__CIF__CIFINT_H
#include "database/database.h"
@ -396,4 +396,4 @@ extern void CIFError(Rect *area, char *message);
#define CIF_SOLIDTYPE 1
extern TileTypeBitMask CIFSolidBits;
#endif /* _CIFINT_H */
#endif /* _MAGIC__CIF__CIFINT_H */

View File

@ -21,8 +21,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/cif/CIFread.h,v 1.3 2010/08/25 17:33:55 tim Exp $
*/
#ifndef _CIFREAD_H
#define _CIFREAD_H
#ifndef _MAGIC__CIF__CIFREAD_H
#define _MAGIC__CIF__CIFREAD_H
#include "cif/CIFint.h"
@ -221,4 +221,4 @@ extern int cifParseLaChar;
? (cifParseLaAvail = FALSE, cifParseLaChar) \
: (cifParseLaChar = getc(cifInputFile)))
#endif /* _CIFREAD_H */
#endif /* _MAGIC__CIF__CIFREAD_H */

View File

@ -20,8 +20,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/cif/cif.h,v 1.4 2010/06/24 12:37:15 tim Exp $
*/
#ifndef _CIF_H
#define _CIF_H
#ifndef _MAGIC__CIF__CIF_H
#define _MAGIC__CIF__CIF_H
#include "database/database.h"
@ -95,4 +95,4 @@ extern LinkedRect *PaintPolygon(Point *pointlist, int number, Plane *plane, Pain
/* C99 compat */
extern int CIFGetContactSize(TileType type, int *edge, int *spacing, int *border);
#endif /* _CIF_H */
#endif /* _MAGIC__CIF__CIF_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/cmwind/cmwind.h,v 1.2 2009/09/10 20:32:51 tim Exp $
*/
#ifndef _CMWIND_H
#define _CMWIND_H
#ifndef _MAGIC__CMWIND__CMWIND_H
#define _MAGIC__CMWIND__CMWIND_H
#include "windows/windows.h"
#include "textio/txcommands.h"
@ -81,4 +81,4 @@ extern bool CMWCheckWritten(void);
extern void CMWinit(void);
#endif /* _CMWIND_H */
#endif /* _MAGIC__CMWIND__CMWIND_H */

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/commands/commands.h,v 1.3 2009/01/19 15:43:03 tim Exp $
*/
#ifndef _COMMANDS_H
#define _COMMANDS_H
#ifndef _MAGIC__COMMANDS__COMMANDS_H
#define _MAGIC__COMMANDS__COMMANDS_H
#include "windows/windows.h"
#include "database/database.h"
@ -75,4 +75,4 @@ extern void CmdInit(void);
extern void CmdDoProperty(CellDef *def, TxCommand *cmd, int argstart);
extern void CmdPaintEraseButton(MagWindow *w, Point *refPoint, bool isPaint, bool isScreen);
#endif /* _COMMANDS_H */
#endif /* _MAGIC__COMMANDS__COMMANDS_H */

View File

@ -22,8 +22,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/database/database.h.in,v 1.8 2010/08/25 17:33:55 tim Exp $"
*/
#ifndef _DATABASE_H
#define _DATABASE_H
#ifndef _MAGIC__DATABASE__DATABASE_H
#define _MAGIC__DATABASE__DATABASE_H
#ifndef _TILES_H
#include "tiles/tile.h"

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/database/databaseInt.h,v 1.3 2010/06/24 12:37:15 tim Exp $
*/
#ifndef _DATABASEINT_H
#define _DATABASEINT_H
#ifndef _MAGIC__DATABASE__DATABASEINT_H
#define _MAGIC__DATABASE__DATABASEINT_H
#include "database/database.h"
@ -247,4 +247,4 @@ extern TileTypeBitMask dbNotDefaultPaintTbl[];
#define ERASEAFFECTS(t, s) \
((t) != TT_SPACE && DBStdEraseEntry((t), (s), DBPlane(t)) != (t))
#endif /* _DATABASEINT_H */
#endif /* _MAGIC__DATABASE__DATABASEINT_H */

View File

@ -10,8 +10,8 @@
* rcsid "$$"
*/
#ifndef _FONTS_H
#define _FONTS_H
#ifndef _MAGIC__DATABASE__FONTS_H
#define _MAGIC__DATABASE__FONTS_H
#ifndef _TILES_H
#include "tiles/tile.h"
@ -39,4 +39,4 @@ typedef struct
extern MagicFont **DBFontList; /* List of loaded font vectors */
extern int DBNumFonts; /* Number of loaded fonts */
#endif /* _FONTS_H */
#endif /* _MAGIC__DATABASE__FONTS_H */

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/dbwind/dbwind.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _DBWIND_H
#define _DBWIND_H
#ifndef _MAGIC__DBWIND__DBWIND_H
#define _MAGIC__DBWIND__DBWIND_H
#include "database/database.h"
#include "windows/windows.h"
@ -261,4 +261,4 @@ extern void dbwElementInit();
extern void dbwCrosshairInit();
#endif /* _DBWIND_H */
#endif /* _MAGIC__DBWIND__DBWIND_H */

View File

@ -8,8 +8,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/dbwind/dbwtech.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _DBWTECH_H
#define _DBWTECH_H
#ifndef _MAGIC__DBWIND__DBWTECH_H
#define _MAGIC__DBWIND__DBWTECH_H
extern TileTypeBitMask *DBWStyleToTypesTbl;
@ -23,4 +23,4 @@ extern void DBWElementStyle();
extern void DBWElementText();
extern void DBWSetCrosshair();
#endif /* _DBWTECH_H */
#endif /* _MAGIC__DBWIND__DBWTECH_H */

View File

@ -21,8 +21,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/debug/debug.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _DEBUG_H
#define _DEBUG_H
#ifndef _MAGIC__DEBUG__DEBUG_H
#define _MAGIC__DEBUG__DEBUG_H
#include "utils/magic.h"
@ -76,4 +76,4 @@ extern int DebugAddFlag(ClientData clientID, const char *name);
extern void DebugShow(ClientData clientID);
extern void DebugSet(ClientData clientID, int argc, char *argv[], int value);
#endif /* _DEBUG_H */
#endif /* _MAGIC__DEBUG__DEBUG_H */

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/drc/drc.h,v 1.6 2010/09/20 21:13:22 tim Exp $
*/
#ifndef _DRC_H
#define _DRC_H
#ifndef _MAGIC__DRC__DRC_H
#define _MAGIC__DRC__DRC_H
#include "database/database.h"
@ -323,4 +323,4 @@ extern long drcCifPointToSegment();
#define DRCHasWork ((DRCPendingRoot != NULL) && (DRCBackGround != DRC_SET_OFF))
#endif
#endif /* _DRC_H */
#endif /* _MAGIC__DRC__DRC_H */

View File

@ -3,8 +3,8 @@
* Definitions for ext2spice.c and ext2hier.c
*/
#ifndef _EXTTOSPICE_H
#define _EXTTOSPICE_H
#ifndef _MAGIC__EXT2SPICE__EXT2SPICE_H
#define _MAGIC__EXT2SPICE__EXT2SPICE_H
/* cache list used to find parallel devs */
typedef struct _devMerge {
@ -196,4 +196,4 @@ typedef struct {
extern int esFreeNodeClient(nodeClient *client);
#endif /* _EXTTOSPICE_H */
#endif /* _MAGIC__EXT2SPICE__EXT2SPICE_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/extflat/EFint.h,v 1.6 2010/12/16 18:59:03 tim Exp $
*/
#ifndef _EFINT_H
#define _EFINT_H
#ifndef _MAGIC__EXTFLAT__EFINT_H
#define _MAGIC__EXTFLAT__EFINT_H
#include "utils/magic.h"
@ -319,4 +319,4 @@ extern void efBuildResistor();
extern void efBuildCap();
extern HierContext *EFFlatBuildOneLevel();
#endif /* _EFINT_H */
#endif /* _MAGIC__EXTFLAT__EFINT_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/extflat/extflat.h,v 1.2 2008/12/03 14:12:09 tim Exp $
*/
#ifndef _EXTFLAT_H
#define _EXTFLAT_H
#ifndef _MAGIC__EXTFLAT__EXTFLAT_H
#define _MAGIC__EXTFLAT__EXTFLAT_H
#include "utils/magic.h"
@ -418,4 +418,4 @@ extern int EFHierVisitResists();
extern int EFHierVisitCaps();
extern int EFHierVisitNodes();
#endif /* _EXTFLAT_H */
#endif /* _MAGIC__EXTFLAT__EXTFLAT_H */

View File

@ -19,8 +19,8 @@
*
*/
#ifndef _EXTRACT_H
#define _EXTRACT_H
#ifndef _MAGIC__EXTRACT__EXTRACT_H
#define _MAGIC__EXTRACT__EXTRACT_H
#include "utils/magic.h"
#include "database/database.h" /* TileTypeBitMask */
@ -147,4 +147,4 @@ extern void ExtLabelOneRegion();
extern void ExtInit();
extern bool ExtGetDevInfo();
#endif /* _EXTRACT_H */
#endif /* _MAGIC__EXTRACT__EXTRACT_H */

View File

@ -23,8 +23,8 @@
*
*/
#ifndef _EXTRACTINT_H
#define _EXTRACTINT_H
#ifndef _MAGIC__EXTRACT__EXTRACTINT_H
#define _MAGIC__EXTRACT__EXTRACTINT_H
#include "database/database.h"
@ -1118,4 +1118,4 @@ extern int extMakeUnique();
#include "extDebugInt.h"
#endif /* _EXTRACTINT_H */
#endif /* _MAGIC__EXTRACT__EXTRACTINT_H */

View File

@ -29,8 +29,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/garouter/gaInternal.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _GAINTERNAL_H
#define _GAINTERNAL_H
#ifndef _MAGIC__GAROUTER__GAINTERNAL_H
#define _MAGIC__GAROUTER__GAINTERNAL_H
#include "database/database.h"
@ -108,4 +108,4 @@ extern bool gaStemSimpleRoute();
extern bool gaStemSimpleRoute();
extern int gaBuildNetList();
#endif /* _GAINTERNAL_H */
#endif /* _MAGIC__GAROUTER__GAINTERNAL_H */

View File

@ -18,8 +18,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/garouter/garouter.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _GAROUTER_H
#define _GAROUTER_H
#ifndef _MAGIC__GAROUTER__GAROUTER_H
#define _MAGIC__GAROUTER__GAROUTER_H
#include "grouter/grouter.h"
#include "utils/netlist.h" /* NLTermLoc */
@ -108,4 +108,4 @@ extern void GATest();
/* Exported variables */
extern bool GAStemWarn;
#endif /* _GAROUTER_H */
#endif /* _MAGIC__GAROUTER__GAROUTER_H */

View File

@ -19,8 +19,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/gcr/gcr.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _GCR_H
#define _GCR_H
#ifndef _MAGIC__GCR__GCR_H
#define _MAGIC__GCR__GCR_H
#include "utils/magic.h"
@ -377,4 +377,4 @@ extern int gcrTryRun();
extern void gcrUncollapse();
extern void gcrVacate();
#endif /* _GCR_H */
#endif /* _MAGIC__GCR__GCR_H */

View File

@ -20,8 +20,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/graphics/glyphs.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _GLYPHS_H
#define _GLYPHS_H
#ifndef _MAGIC__GRAPHICS__GLYPHS_H
#define _MAGIC__GRAPHICS__GLYPHS_H
#include "utils/geometry.h"
@ -54,4 +54,4 @@ extern void GrFreeGlyphs();
extern GrGlyphs *windGlyphs;
#endif /* _GLYPHS_H */
#endif /* _MAGIC__GRAPHICS__GLYPHS_H */

View File

@ -19,8 +19,8 @@
/* rcsid "$Header: /usr/cvsroot/magic-8.0/graphics/graphics.h,v 1.3 2010/06/24 12:37:18 tim Exp $" */
#ifndef _GRAPHICS_H
#define _GRAPHICS_H
#ifndef _MAGIC__GRAPHICS__GRAPHICS_H
#define _MAGIC__GRAPHICS__GRAPHICS_H
#include "utils/magic.h"
#include "utils/geometry.h"
@ -233,4 +233,4 @@ extern unsigned char GrDisplayStatus;
/* Special full-screen access for window manager only */
#define GR_LOCK_SCREEN (MagWindow *)(-1)
#endif /* _GRAPHICS_H */
#endif /* _MAGIC__GRAPHICS__GRAPHICS_H */

View File

@ -19,8 +19,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/graphics/graphicsInt.h,v 1.3 2010/06/24 12:37:18 tim Exp $"
*/
#ifndef _GRAPHICSINT_H
#define _GRAPHICSINT_H
#ifndef _MAGIC__GRAPHICS__GRAPHICSINT_H
#define _MAGIC__GRAPHICS__GRAPHICSINT_H
#include "windows/windows.h"
#include "utils/magic.h"
@ -103,4 +103,4 @@ extern bool groglPreLoadFont();
extern bool grtcairoLoadFont();
#endif
#endif /* _GRAPHICSINT_H */
#endif /* _MAGIC__GRAPHICS__GRAPHICSINT_H */

View File

@ -8,8 +8,8 @@
*
*/
#ifndef _WIND3D_H
#define _WIND3D_H
#ifndef _MAGIC__GRAPHICS__WIND3D_H
#define _MAGIC__GRAPHICS__WIND3D_H
#include "windows/windows.h"
@ -67,4 +67,4 @@ extern void w3dCutBox();
extern WindClient W3DclientID;
#endif /* _WIND3D_H */
#endif /* _MAGIC__GRAPHICS__WIND3D_H */

View File

@ -19,8 +19,8 @@
* sccsid "@(#)grouter.h 4.5 MAGIC (Berkeley) 10/31/85"
*/
#ifndef _GROUTER_H
#define _GROUTER_H
#ifndef _MAGIC__GROUTER__GROUTER_H
#define _MAGIC__GROUTER__GROUTER_H
#include "router/router.h"
#include "gcr/gcr.h"
@ -299,4 +299,4 @@ extern bool glInitialized; /* TRUE if registered with debug module */
extern ClientData glDebugID; /* Our identity with the debugging module */
#include "grouteDebug.h" /* Can add flags without total recompile */
#endif /* _GROUTER_H */
#endif /* _MAGIC__GROUTER__GROUTER_H */

View File

@ -30,8 +30,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/irouter/irInternal.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _IRINTERNAL_H
#define _IRINTERNAL_H
#ifndef _MAGIC__IROUTER__IRINTERNAL_H
#define _MAGIC__IROUTER__IRINTERNAL_H
#include "irouter/irouter.h"
#include "mzrouter/mzrouter.h"
@ -75,4 +75,4 @@ extern int irRouteWid; /* Reference window for subcell expansion
#define DT_RECT 3
#define DT_SELECTION 4
#endif /* _IRINTERNAL_H */
#endif /* _MAGIC__IROUTER__IRINTERNAL_H */

View File

@ -21,8 +21,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/irouter/irouter.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _IROUTER_H
#define _IROUTER_H
#ifndef _MAGIC__IROUTER__IROUTER_H
#define _MAGIC__IROUTER__IROUTER_H
#include "utils/magic.h"
@ -53,4 +53,4 @@ extern bool IRDRCLine();
extern int irRoute();
extern void IRCommand();
#endif /* _IROUTER_H */
#endif /* _MAGIC__IROUTER__IROUTER_H */

View File

@ -6,8 +6,8 @@
*
*/
#ifndef _LEF_H
#define _LEF_H
#ifndef _MAGIC__LEF__LEF_H
#define _MAGIC__LEF__LEF_H
#include "utils/magic.h"
@ -22,4 +22,4 @@ extern void LefTechSetDefaults(void);
extern void LefInit(void);
#endif /* _LEF_H */
#endif /* _MAGIC__LEF__LEF_H */

View File

@ -7,8 +7,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/lef/lefInt.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _LEFINT_H
#define _LEFINT_H
#ifndef _MAGIC__LEF__LEFINT_H
#define _MAGIC__LEF__LEFINT_H
#include "utils/magic.h"
@ -192,4 +192,4 @@ extern void lefRemoveGeneratedVias(void);
#define DEF_INFO 6
#define DEF_SUMMARY 7
#endif /* _LEFINT_H */
#endif /* _MAGIC__LEF__LEFINT_H */

View File

@ -23,8 +23,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/mzrouter/mzInternal.h,v 1.2 2008/06/01 18:37:44 tim Exp $
*/
#ifndef _MZINTERNAL_H
#define _MZINTERNAL_H
#ifndef _MAGIC__MZROUTER__MZINTERNAL_H
#define _MAGIC__MZROUTER__MZINTERNAL_H
/*
* Structures etc. that are exported by the mzrouter are defined in
@ -504,4 +504,4 @@ extern void mzWalkUDContact();
#define RC_WALKLRC 1024
#define RC_DONE 2048
#endif /* _MZINTERNAL_H */
#endif /* _MAGIC__MZROUTER__MZINTERNAL_H */

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/mzrouter/mzrouter.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _MZROUTER_H
#define _MZROUTER_H
#ifndef _MAGIC__MZROUTER__MZROUTER_H
#define _MAGIC__MZROUTER__MZROUTER_H
#include "database/database.h"
#include "utils/geometry.h"
@ -345,4 +345,4 @@ extern void MZAttachHintPlanes();
/* Major cost unit */
extern int mzMajorCostUnit;
#endif /* _MZROUTER_H */
#endif /* _MAGIC__MZROUTER__MZROUTER_H */

View File

@ -21,8 +21,8 @@
* rcsid = "$Header: /usr/cvsroot/magic-8.0/netmenu/netmenu.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $";
*/
#ifndef _NETMENU_H
#define _NETMENU_H
#ifndef _MAGIC__NETMENU__NETMENU_H
#define _MAGIC__NETMENU__NETMENU_H
#include "utils/magic.h"
@ -60,4 +60,4 @@ extern void NMMeasureAll();
extern void nmGetNums();
#endif /* _NETMENU_H */
#endif /* _MAGIC__NETMENU__NETMENU_H */

View File

@ -20,8 +20,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/netmenu/nmInt.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _NMINT_H
#define _NMINT_H
#ifndef _MAGIC__NETMENU__NMINT_H
#define _MAGIC__NETMENU__NMINT_H
#include "windows/windows.h"
@ -153,4 +153,4 @@ extern char * NMCurNetName;
#define NMUE_SELECT 3
#define NMUE_NETLIST 4
#endif /* _NMINT_H */
#endif /* _MAGIC__NETMENU__NMINT_H */

View File

@ -7,8 +7,8 @@
/* MultiGiG, Inc., Scotts Valley, CA */
/*--------------------------------------------------------------*/
#ifndef _OA_H
#define _OA_H
#ifndef _MAGIC__OA__OA_H
#define _MAGIC__OA__OA_H
/* Header file is wrapped in ifdef so include statements don't */
/* need to be. */
@ -20,4 +20,4 @@ extern int oaTreeCellSrFunc(); /* see DBcellsrch.c */
#endif /* OPENACCESS */
#endif /* _OA_H */
#endif /* _MAGIC__OA__OA_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/plot/plot.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _PLOT_H
#define _PLOT_H
#ifndef _MAGIC__PLOT__PLOT_H
#define _MAGIC__PLOT__PLOT_H
#include "utils/magic.h"
@ -50,4 +50,4 @@ extern void PlotPNM();
extern void PlotSetParam();
extern void PlotPrintParams();
#endif /* _PLOT_H */
#endif /* _MAGIC__PLOT__PLOT_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/plot/plotInt.h,v 1.2 2010/03/08 13:33:33 tim Exp $
*/
#ifndef _PLOTINT_H
#define _PLOTINT_H
#ifndef _MAGIC__PLOT__PLOTINT_H
#define _MAGIC__PLOT__PLOTINT_H
#include "utils/magic.h"
#include "utils/geometry.h"
@ -250,4 +250,4 @@ extern void PlotPNM();
extern void PlotPNM();
extern int PlotRTLCompress();
#endif /* _PLOTINT_H */
#endif /* _MAGIC__PLOT__PLOTINT_H */

View File

@ -18,8 +18,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/plow/plow.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _PLOW_H
#define _PLOW_H
#ifndef _MAGIC__PLOW__PLOW_H
#define _MAGIC__PLOW__PLOW_H
#include "utils/magic.h"
@ -59,4 +59,4 @@ extern void DRCPlowScale();
extern void PlowInit();
extern void PlowAfterTech();
#endif /* _PLOW_H */
#endif /* _MAGIC__PLOW__PLOW_H */

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/plow/plowInt.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _PLOWINT_H
#define _PLOWINT_H
#ifndef _MAGIC__PLOW__PLOWINT_H
#define _MAGIC__PLOW__PLOWINT_H
#include "tiles/tile.h"
@ -293,4 +293,4 @@ extern void plowShowTime();
*/
#include "plowDebugInt.h"
#endif /* _PLOWINT_H */
#endif /* _MAGIC__PLOW__PLOWINT_H */

View File

@ -6,8 +6,8 @@
refer to both before and after processing.
*/
#ifndef _RESIS_H
#define _RESIS_H
#ifndef _MAGIC__RESIS__RESIS_H
#define _MAGIC__RESIS__RESIS_H
#define LAYERS_PER_CONTACT 4
#define TILES_PER_JUNCTION 2
@ -737,4 +737,4 @@ extern int resWalkup();
pX_->portList = rp; \
}
#endif /* _RESIS_H */
#endif /* _MAGIC__RESIS__RESIS_H */

View File

@ -20,8 +20,8 @@
* rcsid="$Header: /usr/cvsroot/magic-8.0/router/router.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _ROUTER_H
#define _ROUTER_H
#ifndef _MAGIC__ROUTER__ROUTER_H
#define _MAGIC__ROUTER__ROUTER_H
#include "database/database.h"
#include "utils/geometry.h"
@ -212,4 +212,4 @@ extern void RtrPaintStats();
extern CellDef *RtrFindChannelDef();
extern struct pin *RtrPointToPin();
#endif /* _ROUTER_H */
#endif /* _MAGIC__ROUTER__ROUTER_H */

View File

@ -23,8 +23,8 @@
* but global to all source files within the router module.
*/
#ifndef _ROUTERINT_H
#define _ROUTERINT_H
#ifndef _MAGIC__ROUTER__ROUTERINT_H
#define _MAGIC__ROUTER__ROUTERINT_H
extern int rtrTarget; /* Via minimization, target type */
extern int rtrReplace; /* Via minimization, replacement type */
@ -46,4 +46,4 @@ extern int rtrSrTraverse();
extern int rtrListVia();
extern void rtrListArea();
#endif /* _ROUTERINT_H */
#endif /* _MAGIC__ROUTER__ROUTERINT_H */

View File

@ -18,8 +18,8 @@
* rcsid="$Header: /usr/cvsroot/magic-8.0/router/rtrDcmpose.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _RTRDECOMPOSE_H
#define _RTRDECOMPOSE_H
#ifndef _MAGIC__ROUTER__RTRDCMPOSE_H
#define _MAGIC__ROUTER__RTRDCMPOSE_H
#define rtrNW 1 /* Corner codes : */
#define rtrSW 2 /* NW=1 ______ NE=8 */
@ -72,4 +72,4 @@ int rtrSrFunc();
/* Exported Procedures */
CellDef * RtrDecompose();
#endif /* _RTRDECOMPOSE_H */
#endif /* _MAGIC__ROUTER__RTRDCMPOSE_H */

View File

@ -20,8 +20,8 @@
* rcsid="$Header: /usr/cvsroot/magic-8.0/select/selInt.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _SELINT_H
#define _SELINT_H
#ifndef _MAGIC__SELECT__SELINT_H
#define _MAGIC__SELECT__SELINT_H
#include "utils/magic.h"
#include "database/database.h"
@ -43,4 +43,4 @@ extern CellDef *Select2Def;
extern CellUse *selectLastUse;
#endif /* _SELINT_H */
#endif /* _MAGIC__SELECT__SELINT_H */

View File

@ -20,8 +20,8 @@
* rcsid="$Header: /usr/cvsroot/magic-8.0/select/select.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _SELECT_H
#define _SELECT_H
#ifndef _MAGIC__SELECT__SELECT_H
#define _MAGIC__SELECT__SELECT_H
#include "utils/magic.h"
#include "database/database.h"
@ -84,4 +84,4 @@ extern CellDef *SelectRootDef;
extern CellDef *SelectDef;
extern CellUse *SelectUse;
#endif /* _SELECT_H */
#endif /* _MAGIC__SELECT__SELECT_H */

View File

@ -1,5 +1,5 @@
#ifndef _SIM_H
#define _SIM_H
#ifndef _MAGIC__SIM__SIM_H
#define _MAGIC__SIM__SIM_H
#include "utils/magic.h"
#include "textio/txcommands.h" /* TxCommand */
@ -49,4 +49,4 @@ extern bool SimSelection(const char *cmd);
extern void SimRsimMouse(MagWindow *w);
extern int SimFillBuffer(char *buffHead, char **pLastChar, int *charCount);
#endif /* _SIM_H */
#endif /* _MAGIC__SIM__SIM_H */

View File

@ -6,8 +6,8 @@
* the definition for "ClientData" is in conflict.
*/
#ifndef _TCLMAGIC_H
#define _TCLMAGIC_H
#ifndef _MAGIC__TCLTK__TCLMAGIC_H
#define _MAGIC__TCLTK__TCLMAGIC_H
#ifdef MAGIC_WRAPPER
@ -31,4 +31,4 @@ extern void MakeWindowCommand();
extern const char *Tclmagic_InitStubsVersion;
#endif /* MAGIC_WRAPPER */
#endif /* _TCLMAGIC_H */
#endif /* _MAGIC__TCLTK__TCLMAGIC_H */

View File

@ -22,8 +22,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/textio/textio.h,v 1.2 2008/02/18 01:01:35 tim Exp $
*/
#ifndef _TEXTIO_H
#define _TEXTIO_H
#ifndef _MAGIC__TEXTIO__TEXTIO_H
#define _MAGIC__TEXTIO__TEXTIO_H
#include "utils/magic.h"
#include "utils/dqueue.h" /* DQueue */
@ -110,4 +110,4 @@ extern void TxInit(void);
extern void TxInitReadline(void);
#endif
#endif /* _TEXTIO_H */
#endif /* _MAGIC__TEXTIO__TEXTIO_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/textio/textioInt.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _TEXTIOINT_H
#define _TEXTIOINT_H
#ifndef _MAGIC__TEXTIO__TEXTIOINT_H
#define _MAGIC__TEXTIO__TEXTIOINT_H
#include "utils/magic.h"
#include "textio/textio.h"
@ -68,4 +68,4 @@ extern char *TxGetLineWPrompt(char *dest, int maxChars, const char *prompt, cons
extern int Tcl_printf(FILE *fp, const char *fmt, va_list ap);
#endif
#endif /* _TEXTIOINT_H */
#endif /* _MAGIC__TEXTIO__TEXTIOINT_H */

View File

@ -18,8 +18,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/textio/txcommands.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _TXCOMMANDS_H
#define _TXCOMMANDS_H
#ifndef _MAGIC__TEXTIO__TXCOMMANDS_H
#define _MAGIC__TEXTIO__TXCOMMANDS_H
#include "utils/magic.h"
#include "utils/geometry.h"
@ -164,4 +164,4 @@ extern int TxCommandNumber; /* Serial number of current command. */
extern int TxTclDispatch(ClientData clientData, int argc, char *argv[], bool quiet);
#endif
#endif /* _TXCOMMANDS_H */
#endif /* _MAGIC__TEXTIO__TXCOMMANDS_H */

View File

@ -20,8 +20,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/tiles/tile.h,v 1.3 2010/06/24 12:37:57 tim Exp $"
*/
#ifndef _TILES_H
#define _TILES_H
#ifndef _MAGIC__TILES__TILE_H
#define _MAGIC__TILES__TILE_H
#ifndef _MAGIC_H
#include "utils/magic.h"
@ -390,4 +390,4 @@ extern const Rect TiPlaneRect; /* Rectangle large enough to force area
* that should ever be painted in a plane.
*/
#endif /* _TILES_H */
#endif /* _MAGIC__TILES__TILE_H */

View File

@ -22,8 +22,8 @@
*
*/
#ifndef _DQUEUE_H
#define _DQUEUE_H
#ifndef _MAGIC__UTILS__DQUEUE_H
#define _MAGIC__UTILS__DQUEUE_H
#include "utils/magic.h"
@ -52,4 +52,4 @@ extern void DQPushRear();
extern ClientData DQPopFront();
extern ClientData DQPopRear();
#endif /* _DQUEUE_H */
#endif /* _MAGIC__UTILS__DQUEUE_H */

View File

@ -18,8 +18,8 @@
/* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/geometry.h,v 1.2 2009/09/10 20:32:55 tim Exp $" */
#ifndef _GEOMETRY_H
#define _GEOMETRY_H 1
#ifndef _MAGIC__UTILS__GEOMETRY_H
#define _MAGIC__UTILS__GEOMETRY_H
/*-------------------------------------------------------------------
* Structure definition for Point (an x,y pair).
@ -226,4 +226,4 @@ extern const Point GeoOrigin;
extern const int GeoOppositePos[];
#endif /* _GEOMETRY_H */
#endif /* _MAGIC__UTILS__GEOMETRY_H */

View File

@ -18,8 +18,8 @@
/* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/hash.h,v 1.2 2009/09/10 20:32:55 tim Exp $" */
#ifndef _HASH_H
#define _HASH_H
#ifndef _MAGIC__UTILS__HASH_H
#define _MAGIC__UTILS__HASH_H
/*---------------------------------------------------------
* This first stuff should only be used internally
@ -133,4 +133,4 @@ extern HashEntry *HashNext(HashTable *, HashSearch *);
/* HashGetNumEntries(ht); HashTable *ht ; returns number of entries in table */
#define HashGetNumEntries(ht) ((ht)->ht_nEntries)
#endif /* _HASH_H */
#endif /* _MAGIC__UTILS__HASH_H */

View File

@ -62,8 +62,8 @@
*/
#ifndef _HEAP_H
#define _HEAP_H
#ifndef _MAGIC__UTILS__HEAP_H
#define _MAGIC__UTILS__HEAP_H
#include "utils/geometry.h"
@ -141,4 +141,4 @@ extern void HeapDump(Heap *heap);
#define HEAP_EMPTY(h) ((h)->he_used == 0)
#endif /* _HEAP_H */
#endif /* _MAGIC__UTILS__HEAP_H */

View File

@ -39,8 +39,8 @@
/* rcsid "$Header$" */
#ifndef _IHASH_H
#define _IHASH_H
#ifndef _MAGIC__UTILS__IHASH_H
#define _MAGIC__UTILS__IHASH_H
/* returns total memory required for malloc of given size, for */
/* routine IHashStat2() only. */
@ -130,4 +130,4 @@ extern int IHash4WordKeyHash(void *key);
/* key comparison function for four word keys */
extern int IHash4WordKeyEq(void *key1, void *key2);
#endif /* _IHASH_H */
#endif /* _MAGIC__UTILS__IHASH_H */

View File

@ -25,8 +25,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/utils/list.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _LIST_H
#define _LIST_H
#ifndef _MAGIC__UTILS__LIST_H
#define _MAGIC__UTILS__LIST_H
#include "utils/magic.h"
@ -71,4 +71,4 @@ extern List *ListReverse(); /* usage: ListReverse(&List) */
ListDealloc(LIST_intermediate); \
} else
#endif /* _LIST_H */
#endif /* _MAGIC__UTILS__LIST_H */

View File

@ -19,8 +19,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/macros.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _MACROS_H
#define _MACROS_H
#ifndef _MAGIC__UTILS__MACROS_H
#define _MAGIC__UTILS__MACROS_H
#include "utils/magic.h"
#include "utils/hash.h"
@ -51,4 +51,4 @@ extern char *MacroName(); /* returns a malloc'ed string */
extern int MacroKey();
extern int MacroCode();
#endif /* _MACROS_H */
#endif /* _MAGIC__UTILS__MACROS_H */

View File

@ -18,8 +18,8 @@
* rcsid="$Header"
*/
#ifndef _MAGIC_H
#define _MAGIC_H
#ifndef _MAGIC__UTILS__MAGIC_H
#define _MAGIC__UTILS__MAGIC_H
#include <errno.h>
#include <limits.h>
@ -286,4 +286,4 @@ extern char AbortMessage[];
/* ------------------ End of Machine Configuration Section ----------------- */
#endif /* _MAGIC_H */
#endif /* _MAGIC__UTILS__MAGIC_H */

View File

@ -47,8 +47,8 @@
*
*/
#ifndef _MAGIC__ALLOCA_H
#define _MAGIC__ALLOCA_H
#ifndef _MAGIC__UTILS__MAGIC_ALLOCA_H
#define _MAGIC__UTILS__MAGIC_ALLOCA_H
/* taken from autoconf documentation:
* https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Functions.html
@ -83,4 +83,4 @@ void *alloca (size_t);
# endif
#endif
#endif /* _MAGIC__ALLOCA_H */
#endif /* _MAGIC__UTILS__MAGIC_ALLOCA_H */

View File

@ -18,8 +18,8 @@
* rcsid="$Header"
*/
#ifndef _MAGIC_ASSERT_H
#define _MAGIC_ASSERT_H
#ifndef _MAGIC__UTILS__MAGIC_ASSERT_H
#define _MAGIC__UTILS__MAGIC_ASSERT_H
/* --------------------- Debugging and assertions --------------------- */
@ -30,4 +30,4 @@
#define ASSERT(p, where) assert(p) /* "where" is ignored */
#endif /* _MAGIC_ASSERT_H */
#endif /* _MAGIC__UTILS__MAGIC_ASSERT_H */

View File

@ -18,8 +18,8 @@
*
*/
#ifndef _MAGSGTTY_H
#define _MAGSGTTY_H
#ifndef _MAGIC__UTILS__MAGSGTTY_H
#define _MAGIC__UTILS__MAGSGTTY_H
#if !defined(SYSV) && !defined(CYGWIN)
@ -44,4 +44,4 @@
#include <termio.h>
#endif
#endif /* _MAGSGTTY_H */
#endif /* _MAGIC__UTILS__MAGSGTTY_H */

View File

@ -20,8 +20,8 @@
* rcsid="$Header: /usr/cvsroot/magic-8.0/utils/main.h,v 1.2 2009/09/10 20:32:55 tim Exp $"
*/
#ifndef _MAIN_H
#define _MAIN_H
#ifndef _MAGIC__UTILS__MAIN_H
#define _MAGIC__UTILS__MAIN_H
#include "windows/windows.h"
#include "database/database.h"
@ -101,4 +101,4 @@ extern int mainDoArgs();
extern int mainInitAfterArgs();
extern int mainInitFinal();
#endif /* _MAIN_H */
#endif /* _MAGIC__UTILS__MAIN_H */

View File

@ -19,11 +19,11 @@
* *********************************************************************
*/
#ifndef _MALLOC_H
#define _MALLOC_H
#ifndef _MAGIC__UTILS__MALLOC_H
#define _MAGIC__UTILS__MALLOC_H
extern void *mallocMagic(size_t);
extern void *callocMagic(size_t);
extern void freeMagic(void *);
#endif /* _MALLOC_H */
#endif /* _MAGIC__UTILS__MALLOC_H */

View File

@ -20,8 +20,8 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/utils/maxrect.h,v 1.1 2008/12/04 16:21:44 tim Exp $
*/
#ifndef _MAXRECT_H
#define _MAXRECT_H
#ifndef _MAGIC__UTILS__MAXRECT_H
#define _MAGIC__UTILS__MAXRECT_H
#include "database/database.h"
@ -48,4 +48,4 @@ extern Rect *FindMaxRectangle();
extern Rect *FindMaxRectangle2();
extern int FindMaxRects();
#endif /* _MAXRECT_H */
#endif /* _MAGIC__UTILS__MAXRECT_H */

View File

@ -19,8 +19,8 @@
* RCSID $Header: /usr/cvsroot/magic-8.0/utils/netlist.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _RMNETLIST_H
#define _RMNETLIST_H
#ifndef _MAGIC__UTILS__NETLIST_H
#define _MAGIC__UTILS__NETLIST_H
#include "utils/geometry.h"
#include "utils/magic.h"
@ -128,4 +128,4 @@ extern void NLFree();
extern int NLBuild();
extern void NLSort();
#endif /* _RMNETLIST_H */
#endif /* _MAGIC__UTILS__NETLIST_H */

View File

@ -20,8 +20,8 @@
* rcsid="$Header"
*/
#ifndef _PATHS_H
#define _PATHS_H
#ifndef _MAGIC__UTILS__PATHS_H
#define _MAGIC__UTILS__PATHS_H
/*
* Paths used by 'ext2sim' and 'magicusage'.
@ -72,4 +72,4 @@
*/
#define CAD_LIB_PATH ". $CAD_ROOT/"
#endif /* _PATHS_H */
#endif /* _MAGIC__UTILS__PATHS_H */

View File

@ -18,8 +18,8 @@
/* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/pathvisit.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $" */
#ifndef _PATHVISIT_H
#define _PATHVISIT_H
#ifndef _MAGIC__UTILS__PATHVISIT_H
#define _MAGIC__UTILS__PATHVISIT_H
/* Each client will match words beginning with a particular keyword */
typedef struct pvc
@ -46,4 +46,4 @@ extern void PaVisitAddClient();
extern int PaVisitFiles();
extern void PaVisitFree();
#endif /* _PATHVISIT_H */
#endif /* _MAGIC__UTILS__PATHVISIT_H */

View File

@ -18,8 +18,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/runstats.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _RUNSTATS_H
#define _RUNSTATS_H
#ifndef _MAGIC__UTILS__RUNSTATS_H
#define _MAGIC__UTILS__RUNSTATS_H
#define RS_TCUM 01 /* Cumulative user and system time */
#define RS_TINCR 02 /* User and system time since last call */
@ -28,4 +28,4 @@
extern char *RunStats();
extern char *RunStatsRealTime();
#endif /* _RUNSTATS_H */
#endif /* _MAGIC__UTILS__RUNSTATS_H */

View File

@ -19,8 +19,8 @@
* rcsid[]="$Header: /usr/cvsroot/magic-8.0/utils/signals.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $";
*/
#ifndef _MAGSIGNAL_H
#define _MAGSIGNAL_H
#ifndef _MAGIC__UTILS__SIGNALS_H
#define _MAGIC__UTILS__SIGNALS_H
#include "utils/magic.h"
@ -59,4 +59,4 @@ extern void SigRemoveTimer();
extern sigRetVal sigOnInterrupt();
#endif /* _MAGSIGNAL_H */
#endif /* _MAGIC__UTILS__SIGNALS_H */

View File

@ -20,8 +20,8 @@
* sccsid @(#)stack.h 4.1 MAGIC (Berkeley) 7/4/85
*/
#ifndef _STACK_H
#define _STACK_H
#ifndef _MAGIC__UTILS__STACK_H
#define _MAGIC__UTILS__STACK_H
#include "utils/magic.h"
@ -80,4 +80,4 @@ void StackCopy();
*((st)->st_ptr++) = (ClientData)(pointertype) (a); \
} else
#endif /* _STACK_H */
#endif /* _MAGIC__UTILS__STACK_H */

View File

@ -18,8 +18,8 @@
* rcsid: $Header: /usr/cvsroot/magic-8.0/utils/styles.h,v 1.2 2008/12/11 04:20:14 tim Exp $
*/
#ifndef _STYLES_H
#define _STYLES_H 1
#ifndef _MAGIC__UTILS__STYLES_H
#define _MAGIC__UTILS__STYLES_H
/* Styles are divided into three parts: 1) system styles, used for
* purposes such as drawing and erasing tools, window borders, etc.,
@ -199,4 +199,4 @@
/* pick icon */
#define STYLE_CURS_PICK 22
#endif /* _STYLES_H */
#endif /* _MAGIC__UTILS__STYLES_H */

View File

@ -18,8 +18,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/tech.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $"
*/
#ifndef _TECH_H
#define _TECH_H
#ifndef _MAGIC__UTILS__TECH_H
#define _MAGIC__UTILS__TECH_H
#include "utils/magic.h"
@ -60,4 +60,4 @@ extern SectionID TechSectionGetMask();
extern void TechInit();
extern int techGetTokens();
#endif /* _TECH_H */
#endif /* _MAGIC__UTILS__TECH_H */

View File

@ -18,10 +18,10 @@
* rcsid $Header: /usr/cvsroot/magic-8.0/utils/touchingtypes.h,v 1.1.1.1 2008/02/03 20:43:50 tim Exp $
*/
#ifndef _TOUCHINGTYPES_H
#define _TOUCHINGTYPES_H
#ifndef _MAGIC__UTILS__TOUCHINGTYPES_H
#define _MAGIC__UTILS__TOUCHINGTYPES_H
/* -------------------- Functions (exported by touching.c) ---------------- */
extern TileTypeBitMask TouchingTypes();
#endif /* _TOUCHINGTYPES_H */
#endif /* _MAGIC__UTILS__TOUCHINGTYPES_H */

View File

@ -21,8 +21,8 @@
* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/undo.h,v 1.2 2009/09/10 20:32:55 tim Exp $"
*/
#ifndef _UNDO_H
#define _UNDO_H
#ifndef _MAGIC__UTILS__UNDO_H
#define _MAGIC__UTILS__UNDO_H
#include "utils/magic.h"
@ -90,4 +90,4 @@ extern void UndoStackTrace(int);
extern int UndoDisableCount;
#define UndoIsEnabled() (UndoDisableCount == 0)
#endif /* _UNDO_H */
#endif /* _MAGIC__UTILS__UNDO_H */

View File

@ -18,8 +18,8 @@
/* rcsid "$Header: /usr/cvsroot/magic-8.0/utils/utils.h,v 1.2 2009/09/10 20:32:55 tim Exp $" */
#ifndef _UTILS_H
#define _UTILS_H 1
#ifndef _MAGIC__UTILS__UTILS_H
#define _MAGIC__UTILS__UTILS_H
#include "utils/magic.h"
#include "utils/tech.h"
@ -107,4 +107,4 @@ extern int WaitPid(int pid, int *status);
#endif
#endif /* _UTILS_H */
#endif /* _MAGIC__UTILS__UTILS_H */

View File

@ -19,8 +19,8 @@
*
*/
#ifndef _WINDINT_H
#define _WINDINT_H
#ifndef _MAGIC__WINDOWS__WINDINT_H
#define _MAGIC__WINDOWS__WINDINT_H
#include "windows/windows.h"
#include "graphics/glyphs.h"
@ -91,4 +91,4 @@ extern int windCaptionPixels;
#define CREATE_HEIGHT 300
#define CREATE_WIDTH 300
#endif /* _WINDINT_H */
#endif /* _MAGIC__WINDOWS__WINDINT_H */

View File

@ -20,8 +20,8 @@
*
*/
#ifndef _WINDOWS_H
#define _WINDOWS_H
#ifndef _MAGIC__WINDOWS__WINDOWS_H
#define _MAGIC__WINDOWS__WINDOWS_H
#include "utils/magic.h"
#include "utils/geometry.h"
@ -343,4 +343,4 @@ extern int WindScrollBarWidth;
/* Global identifier for the window client structure */
extern WindClient windClientID;
#endif /* _WINDOWS_H */
#endif /* _MAGIC__WINDOWS__WINDOWS_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header$
*/
#ifndef _WIREINT_H
#define _WIREINT_H
#ifndef _MAGIC__WIRING__WIREINT_H
#define _MAGIC__WIRING__WIREINT_H
#include "utils/magic.h"
#include "database/database.h"
@ -37,4 +37,4 @@ extern int WireUnits;
extern void WireRememberForUndo(void);
extern void WireUndoInit(void);
#endif /* _WIREINT_H */
#endif /* _MAGIC__WIRING__WIREINT_H */

View File

@ -19,8 +19,8 @@
* rcsid $Header$
*/
#ifndef _WIRING_H
#define _WIRING_H
#ifndef _MAGIC__WIRING__WIRING_H
#define _MAGIC__WIRING__WIRING_H
#include "utils/magic.h"
#include "database/database.h"
@ -96,4 +96,4 @@ extern void WireTechScale(int scalen, int scaled);
extern void WireInit(void);
#endif /* _WIRING_H */
#endif /* _MAGIC__WIRING__WIRING_H */