Normalized code.

This commit is contained in:
Oliver Schmidt
2014-03-04 01:11:19 +01:00
parent 3e156bdd67
commit 4185caf855
502 changed files with 96 additions and 1660 deletions

View File

@@ -157,6 +157,3 @@ void CheckAssertions (void)
}
}
}

View File

@@ -76,6 +76,3 @@ void CheckAssertions (void);
/* End of asserts.h */
#endif

View File

@@ -316,8 +316,3 @@ void BinWriteTarget (BinDesc* D, struct File* F)
D->F = 0;
D->Filename = 0;
}

View File

@@ -73,6 +73,3 @@ void BinWriteTarget (BinDesc* D, File* F);
/* End of bin.h */
#endif

View File

@@ -88,6 +88,3 @@ int RelocatableBinFmt (unsigned Format)
/* Return the flag */
return Reloc;
}

View File

@@ -63,6 +63,3 @@ int RelocatableBinFmt (unsigned Format);
/* End of binfmt.h */
#endif

View File

@@ -244,6 +244,3 @@ long CfgCheckedConstExpr (long Min, long Max)
/* Return the value */
return Val;
}

View File

@@ -63,7 +63,5 @@ long CfgCheckedConstExpr (long Min, long Max);
/* End of cfgexpr.h */
#endif

View File

@@ -389,6 +389,3 @@ void ConDesDump (void)
printf ("CONDES(%u): %u symbols\n", Type, CollCount (ExpList));
}
}

View File

@@ -121,6 +121,3 @@ void ConDesDump (void);
/* End of condes.h */
#endif

View File

@@ -2080,6 +2080,3 @@ void CfgWriteTarget (void)
}
}
}

View File

@@ -125,8 +125,3 @@ void CfgWriteTarget (void);
/* End of config.h */
#endif

View File

@@ -169,6 +169,3 @@ void CreateDbgFile (void)
Error ("Error closing debug file `%s': %s", DbgFileName, strerror (errno));
}
}

View File

@@ -52,6 +52,3 @@ void CreateDbgFile (void);
/* End of dbgfile.h */
#endif

View File

@@ -540,7 +540,3 @@ void PrintDbgSymLabels (FILE* F)
}
}
}

View File

@@ -96,6 +96,3 @@ void PrintDbgSymLabels (FILE* F);
/* End of dbgsyms.h */
#endif

View File

@@ -107,6 +107,3 @@ void Internal (const char* Format, ...)
exit (EXIT_FAILURE);
}

View File

@@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2))
/* End of error.h */
#endif

View File

@@ -1003,7 +1003,3 @@ void CircularRefError (const Export* E)
GetSourceName (LI),
GetSourceLine (LI));
}

View File

@@ -212,7 +212,3 @@ void CircularRefError (const Export* E);
/* End of exports.h */
#endif

View File

@@ -714,6 +714,3 @@ int EqualExpr (ExprNode* E1, ExprNode* E2)
}
}

View File

@@ -122,6 +122,3 @@ int EqualExpr (ExprNode* E1, ExprNode* E2);
/* End of expr.h */
#endif

View File

@@ -233,7 +233,3 @@ const ExtSym* ExtSymNext (const ExtSym* E)
{
return E->List;
}

View File

@@ -94,7 +94,3 @@ const ExtSym* ExtSymNext (const ExtSym* E);
/* End of extsyms.h */
#endif

View File

@@ -261,6 +261,3 @@ void PrintDbgFileInfo (FILE* F)
fputc ('\n', F);
}
}

View File

@@ -87,7 +87,5 @@ void PrintDbgFileInfo (FILE* F);
/* End of fileinfo.h */
#endif

View File

@@ -332,7 +332,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size)
}
return Data;
}

View File

@@ -118,6 +118,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size);
/* End of fileio.h */
#endif

View File

@@ -103,6 +103,3 @@ void InitSearchPaths (void)
AddSubSearchPathFromWinBin (ObjDefaultPath, "lib");
AddSubSearchPathFromWinBin (CfgDefaultPath, "cfg");
}

View File

@@ -71,7 +71,5 @@ void InitSearchPaths (void);
/* End of filepath.h */
#endif

View File

@@ -94,6 +94,3 @@ Fragment* NewFragment (unsigned char Type, unsigned Size, Section* S)
/* Return the new fragment */
return F;
}

View File

@@ -112,7 +112,3 @@ INLINE unsigned GetFragmentSourceLine (const Fragment* F)
/* End of fragment.h */
#endif

View File

@@ -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 */

View File

@@ -62,6 +62,3 @@ extern const char* DbgFileName; /* Name of the debug file */
/* End of global.h */
#endif

View File

@@ -553,7 +553,3 @@ void PrintDbgLibraries (FILE* F)
fprintf (F, "lib\tid=%u,name=\"%s\"\n", L->Id, GetString (L->Name));
}
}

View File

@@ -92,6 +92,3 @@ void PrintDbgLibraries (FILE* F);
/* End of library.h */
#endif

View File

@@ -284,6 +284,3 @@ void PrintDbgLineInfo (FILE* F)
}
}
}

View File

@@ -186,7 +186,5 @@ void PrintDbgLineInfo (FILE* F);
/* End of lineinfo.h */
#endif

View File

@@ -722,6 +722,3 @@ int main (int argc, char* argv [])
/* Return an apropriate exit code */
return EXIT_SUCCESS;
}

View File

@@ -152,6 +152,3 @@ void CreateLabelFile (void)
Error ("Error closing label file `%s': %s", LabelFileName, strerror (errno));
}
}

View File

@@ -71,6 +71,3 @@ void CreateLabelFile (void);
/* End of mapfile.h */
#endif

View File

@@ -73,7 +73,3 @@ MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name)
/* ...and return it */
return M;
}

View File

@@ -99,8 +99,3 @@ MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name);
/* End of memarea.h */
#endif

View File

@@ -1424,7 +1424,3 @@ void O65WriteTarget (O65Desc* D, File* F)
D->F = 0;
D->Filename = 0;
}

View File

@@ -124,6 +124,3 @@ void O65WriteTarget (O65Desc* D, File* F);
/* End of o65.h */
#endif

View File

@@ -309,7 +309,3 @@ void PrintDbgModules (FILE* F)
}
}

View File

@@ -175,8 +175,3 @@ void PrintDbgModules (FILE* F);
/* End of objdata.h */
#endif

View File

@@ -372,7 +372,3 @@ void ObjAdd (FILE* Obj, const char* Name)
*/
FreeObjStrings (O);
}

View File

@@ -92,6 +92,3 @@ void ObjAdd (FILE* F, const char* Name);
/* End of objfile.h */
#endif

View File

@@ -580,6 +580,3 @@ void CfgCloseInput (void)
InputFile = 0;
}
}

View File

@@ -239,7 +239,5 @@ void CfgCloseInput (void);
/* End of scanner.h */
#endif

View File

@@ -171,6 +171,3 @@ void PrintDbgScopes (FILE* F)
}
}
}

View File

@@ -92,6 +92,3 @@ void PrintDbgScopes (FILE* F);
/* End of scopes.h */
#endif

View File

@@ -662,6 +662,3 @@ void CheckSegments (void)
}
}
}

View File

@@ -168,7 +168,3 @@ void CheckSegments (void);
/* End of segments.h */
#endif

View File

@@ -245,6 +245,3 @@ void PrintDbgSpans (FILE* F)
/* Free the string buffer */
SB_Done (&SpanType);
}

View File

@@ -103,7 +103,5 @@ void PrintDbgSpans (FILE* F);
/* End of span.h */
#endif

View File

@@ -65,7 +65,3 @@ void InitStrPool (void)
*/
SP_AddStr (StrPool, "<invalid message #0>");
}

View File

@@ -111,7 +111,3 @@ void InitStrPool (void);
/* End of spool.h */
#endif

View File

@@ -88,6 +88,3 @@ void InitTypePool (void)
/* Allocate a type pool */
TypePool = NewStringPool (137);
}

View File

@@ -106,7 +106,3 @@ void InitTypePool (void);
/* End of tpool.h */
#endif