Normalized code.
This commit is contained in:
@@ -157,6 +157,3 @@ void CheckAssertions (void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -76,6 +76,3 @@ void CheckAssertions (void);
|
||||
/* End of asserts.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -316,8 +316,3 @@ void BinWriteTarget (BinDesc* D, struct File* F)
|
||||
D->F = 0;
|
||||
D->Filename = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,6 +73,3 @@ void BinWriteTarget (BinDesc* D, File* F);
|
||||
/* End of bin.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -88,6 +88,3 @@ int RelocatableBinFmt (unsigned Format)
|
||||
/* Return the flag */
|
||||
return Reloc;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,6 +63,3 @@ int RelocatableBinFmt (unsigned Format);
|
||||
/* End of binfmt.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -244,6 +244,3 @@ long CfgCheckedConstExpr (long Min, long Max)
|
||||
/* Return the value */
|
||||
return Val;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,7 +63,5 @@ long CfgCheckedConstExpr (long Min, long Max);
|
||||
|
||||
|
||||
/* End of cfgexpr.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -389,6 +389,3 @@ void ConDesDump (void)
|
||||
printf ("CONDES(%u): %u symbols\n", Type, CollCount (ExpList));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -121,6 +121,3 @@ void ConDesDump (void);
|
||||
/* End of condes.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2080,6 +2080,3 @@ void CfgWriteTarget (void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -125,8 +125,3 @@ void CfgWriteTarget (void);
|
||||
/* End of config.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -169,6 +169,3 @@ void CreateDbgFile (void)
|
||||
Error ("Error closing debug file `%s': %s", DbgFileName, strerror (errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -52,6 +52,3 @@ void CreateDbgFile (void);
|
||||
/* End of dbgfile.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -540,7 +540,3 @@ void PrintDbgSymLabels (FILE* F)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -96,6 +96,3 @@ void PrintDbgSymLabels (FILE* F);
|
||||
/* End of dbgsyms.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -107,6 +107,3 @@ void Internal (const char* Format, ...)
|
||||
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2))
|
||||
/* End of error.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1003,7 +1003,3 @@ void CircularRefError (const Export* E)
|
||||
GetSourceName (LI),
|
||||
GetSourceLine (LI));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -212,7 +212,3 @@ void CircularRefError (const Export* E);
|
||||
/* End of exports.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -714,6 +714,3 @@ int EqualExpr (ExprNode* E1, ExprNode* E2)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -122,6 +122,3 @@ int EqualExpr (ExprNode* E1, ExprNode* E2);
|
||||
/* End of expr.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -233,7 +233,3 @@ const ExtSym* ExtSymNext (const ExtSym* E)
|
||||
{
|
||||
return E->List;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -94,7 +94,3 @@ const ExtSym* ExtSymNext (const ExtSym* E);
|
||||
/* End of extsyms.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -261,6 +261,3 @@ void PrintDbgFileInfo (FILE* F)
|
||||
fputc ('\n', F);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -87,7 +87,5 @@ void PrintDbgFileInfo (FILE* F);
|
||||
|
||||
|
||||
/* End of fileinfo.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -332,7 +332,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size)
|
||||
}
|
||||
return Data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -118,6 +118,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size);
|
||||
/* End of fileio.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -103,6 +103,3 @@ void InitSearchPaths (void)
|
||||
AddSubSearchPathFromWinBin (ObjDefaultPath, "lib");
|
||||
AddSubSearchPathFromWinBin (CfgDefaultPath, "cfg");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,5 @@ void InitSearchPaths (void);
|
||||
|
||||
|
||||
/* End of filepath.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -94,6 +94,3 @@ Fragment* NewFragment (unsigned char Type, unsigned Size, Section* S)
|
||||
/* Return the new fragment */
|
||||
return F;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -112,7 +112,3 @@ INLINE unsigned GetFragmentSourceLine (const Fragment* F)
|
||||
/* End of fragment.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -56,6 +56,3 @@ unsigned char VerboseMap = 0; /* Verbose map file */
|
||||
const char* MapFileName = 0; /* Name of the map file */
|
||||
const char* LabelFileName = 0; /* Name of the label file */
|
||||
const char* DbgFileName = 0; /* Name of the debug file */
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -62,6 +62,3 @@ extern const char* DbgFileName; /* Name of the debug file */
|
||||
/* End of global.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -553,7 +553,3 @@ void PrintDbgLibraries (FILE* F)
|
||||
fprintf (F, "lib\tid=%u,name=\"%s\"\n", L->Id, GetString (L->Name));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -92,6 +92,3 @@ void PrintDbgLibraries (FILE* F);
|
||||
/* End of library.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -284,6 +284,3 @@ void PrintDbgLineInfo (FILE* F)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -186,7 +186,5 @@ void PrintDbgLineInfo (FILE* F);
|
||||
|
||||
|
||||
/* End of lineinfo.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -722,6 +722,3 @@ int main (int argc, char* argv [])
|
||||
/* Return an apropriate exit code */
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -152,6 +152,3 @@ void CreateLabelFile (void)
|
||||
Error ("Error closing label file `%s': %s", LabelFileName, strerror (errno));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -71,6 +71,3 @@ void CreateLabelFile (void);
|
||||
/* End of mapfile.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,3 @@ MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name)
|
||||
/* ...and return it */
|
||||
return M;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -99,8 +99,3 @@ MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name);
|
||||
/* End of memarea.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1424,7 +1424,3 @@ void O65WriteTarget (O65Desc* D, File* F)
|
||||
D->F = 0;
|
||||
D->Filename = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -124,6 +124,3 @@ void O65WriteTarget (O65Desc* D, File* F);
|
||||
/* End of o65.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -309,7 +309,3 @@ void PrintDbgModules (FILE* F)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -175,8 +175,3 @@ void PrintDbgModules (FILE* F);
|
||||
/* End of objdata.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -372,7 +372,3 @@ void ObjAdd (FILE* Obj, const char* Name)
|
||||
*/
|
||||
FreeObjStrings (O);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -92,6 +92,3 @@ void ObjAdd (FILE* F, const char* Name);
|
||||
/* End of objfile.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -580,6 +580,3 @@ void CfgCloseInput (void)
|
||||
InputFile = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -239,7 +239,5 @@ void CfgCloseInput (void);
|
||||
|
||||
|
||||
/* End of scanner.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -171,6 +171,3 @@ void PrintDbgScopes (FILE* F)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -92,6 +92,3 @@ void PrintDbgScopes (FILE* F);
|
||||
/* End of scopes.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -662,6 +662,3 @@ void CheckSegments (void)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -168,7 +168,3 @@ void CheckSegments (void);
|
||||
/* End of segments.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -245,6 +245,3 @@ void PrintDbgSpans (FILE* F)
|
||||
/* Free the string buffer */
|
||||
SB_Done (&SpanType);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -103,7 +103,5 @@ void PrintDbgSpans (FILE* F);
|
||||
|
||||
|
||||
/* End of span.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -65,7 +65,3 @@ void InitStrPool (void)
|
||||
*/
|
||||
SP_AddStr (StrPool, "<invalid message #0>");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -111,7 +111,3 @@ void InitStrPool (void);
|
||||
/* End of spool.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -88,6 +88,3 @@ void InitTypePool (void)
|
||||
/* Allocate a type pool */
|
||||
TypePool = NewStringPool (137);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -106,7 +106,3 @@ void InitTypePool (void);
|
||||
/* End of tpool.h */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user