From 4185caf8558690ae4720d4a83d829ed3ed087ae9 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Tue, 4 Mar 2014 01:11:19 +0100 Subject: [PATCH] Normalized code. --- src/ar65/add.c | 4 ---- src/ar65/add.h | 4 ---- src/ar65/del.c | 4 ---- src/ar65/del.h | 4 ---- src/ar65/error.c | 3 --- src/ar65/error.h | 3 --- src/ar65/exports.c | 3 --- src/ar65/exports.h | 3 --- src/ar65/extract.c | 3 --- src/ar65/extract.h | 4 ---- src/ar65/fileio.c | 51 ---------------------------------------- src/ar65/fileio.h | 3 --- src/ar65/global.c | 3 --- src/ar65/global.h | 3 --- src/ar65/library.c | 3 --- src/ar65/library.h | 3 --- src/ar65/list.c | 3 --- src/ar65/list.h | 4 ---- src/ar65/main.c | 3 --- src/ar65/objdata.c | 3 --- src/ar65/objdata.h | 3 --- src/ar65/objfile.c | 3 --- src/ar65/objfile.h | 3 --- src/ca65/anonname.c | 3 --- src/ca65/anonname.h | 4 +--- src/ca65/asserts.c | 5 ---- src/ca65/asserts.h | 3 --- src/ca65/condasm.c | 4 ---- src/ca65/condasm.h | 3 --- src/ca65/dbginfo.c | 3 --- src/ca65/dbginfo.h | 5 ---- src/ca65/ea.h | 3 --- src/ca65/ea65.c | 4 ---- src/ca65/ea65.h | 3 --- src/ca65/enum.c | 4 ---- src/ca65/enum.h | 3 --- src/ca65/error.c | 3 --- src/ca65/error.h | 4 ---- src/ca65/expr.c | 3 --- src/ca65/expr.h | 3 --- src/ca65/feature.c | 3 --- src/ca65/feature.h | 3 --- src/ca65/filetab.c | 2 -- src/ca65/filetab.h | 5 ---- src/ca65/fragment.c | 3 --- src/ca65/fragment.h | 5 +--- src/ca65/global.h | 3 --- src/ca65/incpath.c | 3 --- src/ca65/incpath.h | 3 --- src/ca65/instr.c | 3 --- src/ca65/instr.h | 5 ---- src/ca65/istack.c | 3 --- src/ca65/istack.h | 4 ---- src/ca65/lineinfo.c | 3 --- src/ca65/lineinfo.h | 5 +--- src/ca65/listing.c | 3 --- src/ca65/listing.h | 3 --- src/ca65/macro.c | 3 --- src/ca65/macro.h | 3 --- src/ca65/main.c | 3 --- src/ca65/nexttok.c | 3 --- src/ca65/nexttok.h | 4 ---- src/ca65/objcode.c | 3 --- src/ca65/objcode.h | 3 --- src/ca65/objfile.c | 3 --- src/ca65/objfile.h | 3 --- src/ca65/options.h | 3 --- src/ca65/pseudo.c | 3 --- src/ca65/pseudo.h | 3 --- src/ca65/repeat.c | 3 --- src/ca65/repeat.h | 4 ---- src/ca65/scanner.c | 4 ---- src/ca65/scanner.h | 4 ---- src/ca65/segdef.c | 4 ---- src/ca65/segdef.h | 3 --- src/ca65/segment.c | 4 ---- src/ca65/segment.h | 3 --- src/ca65/sizeof.c | 3 --- src/ca65/sizeof.h | 4 +--- src/ca65/span.c | 4 ---- src/ca65/span.h | 3 --- src/ca65/spool.c | 3 --- src/ca65/spool.h | 4 ---- src/ca65/struct.c | 3 --- src/ca65/struct.h | 3 --- src/ca65/studyexpr.c | 3 --- src/ca65/studyexpr.h | 4 +--- src/ca65/symbol.c | 3 --- src/ca65/symbol.h | 3 --- src/ca65/symentry.c | 3 --- src/ca65/symentry.h | 4 ---- src/ca65/symtab.c | 3 --- src/ca65/symtab.h | 3 --- src/ca65/token.c | 3 --- src/ca65/token.h | 3 --- src/ca65/toklist.c | 3 --- src/ca65/toklist.h | 4 ---- src/ca65/ulabel.c | 4 ---- src/ca65/ulabel.h | 3 --- src/cc65/anonname.c | 3 --- src/cc65/anonname.h | 4 +--- src/cc65/asmcode.c | 3 --- src/cc65/asmcode.h | 5 +--- src/cc65/asmlabel.c | 4 ---- src/cc65/asmlabel.h | 4 +--- src/cc65/asmstmt.c | 3 --- src/cc65/asmstmt.h | 3 --- src/cc65/assignment.c | 3 --- src/cc65/assignment.h | 4 +--- src/cc65/casenode.c | 3 --- src/cc65/casenode.h | 4 +--- src/cc65/codeent.c | 6 ----- src/cc65/codeent.h | 5 +--- src/cc65/codegen.c | 3 --- src/cc65/codegen.h | 3 +-- src/cc65/codeinfo.c | 3 --- src/cc65/codeinfo.h | 5 +--- src/cc65/codelab.c | 4 ---- src/cc65/codelab.h | 4 +--- src/cc65/codeopt.c | 3 --- src/cc65/codeopt.h | 4 +--- src/cc65/codeseg.c | 3 --- src/cc65/codeseg.h | 4 +--- src/cc65/compile.c | 3 --- src/cc65/compile.h | 3 --- src/cc65/coptadd.c | 3 --- src/cc65/coptadd.h | 3 --- src/cc65/coptc02.c | 3 --- src/cc65/coptc02.h | 4 +--- src/cc65/coptcmp.c | 3 --- src/cc65/coptcmp.h | 3 --- src/cc65/coptind.c | 3 --- src/cc65/coptind.h | 4 +--- src/cc65/coptneg.c | 3 --- src/cc65/coptneg.h | 3 --- src/cc65/coptptrload.c | 3 --- src/cc65/coptptrload.h | 4 +--- src/cc65/coptptrstore.c | 3 --- src/cc65/coptptrstore.h | 5 +--- src/cc65/coptpush.c | 3 --- src/cc65/coptpush.h | 3 --- src/cc65/coptshift.c | 3 --- src/cc65/coptshift.h | 4 +--- src/cc65/coptsize.c | 3 --- src/cc65/coptsize.h | 4 +--- src/cc65/coptstop.c | 3 --- src/cc65/coptstop.h | 4 +--- src/cc65/coptstore.c | 3 --- src/cc65/coptstore.h | 3 --- src/cc65/coptsub.c | 3 --- src/cc65/coptsub.h | 3 --- src/cc65/copttest.c | 3 --- src/cc65/copttest.h | 3 --- src/cc65/dataseg.c | 4 ---- src/cc65/dataseg.h | 4 +--- src/cc65/datatype.c | 3 --- src/cc65/datatype.h | 3 --- src/cc65/declare.c | 3 --- src/cc65/declare.h | 3 --- src/cc65/declattr.c | 3 --- src/cc65/declattr.h | 3 --- src/cc65/error.c | 3 --- src/cc65/error.h | 6 +---- src/cc65/expr.c | 3 --- src/cc65/expr.h | 4 ---- src/cc65/exprdesc.c | 3 --- src/cc65/exprdesc.h | 4 +--- src/cc65/funcdesc.c | 3 --- src/cc65/funcdesc.h | 4 +--- src/cc65/function.c | 3 --- src/cc65/function.h | 4 +--- src/cc65/global.c | 3 --- src/cc65/global.h | 4 ---- src/cc65/goto.c | 3 --- src/cc65/goto.h | 4 +--- src/cc65/hexval.c | 3 --- src/cc65/hexval.h | 6 +---- src/cc65/ident.c | 3 --- src/cc65/ident.h | 4 +--- src/cc65/incpath.c | 3 --- src/cc65/incpath.h | 4 +--- src/cc65/input.c | 2 -- src/cc65/input.h | 10 ++++---- src/cc65/lineinfo.c | 3 --- src/cc65/lineinfo.h | 5 +--- src/cc65/litpool.c | 3 --- src/cc65/litpool.h | 5 +--- src/cc65/loadexpr.c | 3 --- src/cc65/loadexpr.h | 4 +--- src/cc65/locals.c | 3 --- src/cc65/locals.h | 4 +--- src/cc65/loop.c | 3 --- src/cc65/loop.h | 3 --- src/cc65/macrotab.c | 3 --- src/cc65/macrotab.h | 4 +--- src/cc65/main.c | 3 --- src/cc65/opcodes.c | 4 ---- src/cc65/opcodes.h | 4 +--- src/cc65/output.c | 3 --- src/cc65/output.h | 4 +--- src/cc65/pragma.c | 3 --- src/cc65/pragma.h | 6 +---- src/cc65/preproc.c | 1 - src/cc65/preproc.h | 4 +--- src/cc65/reginfo.c | 3 --- src/cc65/reginfo.h | 5 +--- src/cc65/scanner.c | 3 --- src/cc65/scanner.h | 7 +----- src/cc65/scanstrbuf.c | 3 --- src/cc65/scanstrbuf.h | 6 +---- src/cc65/segments.c | 3 --- src/cc65/segments.h | 4 +--- src/cc65/shiftexpr.c | 3 --- src/cc65/shiftexpr.h | 4 ---- src/cc65/stackptr.c | 4 ---- src/cc65/stackptr.h | 3 --- src/cc65/standard.c | 3 --- src/cc65/standard.h | 4 ---- src/cc65/stdfunc.c | 3 --- src/cc65/stdfunc.h | 3 --- src/cc65/stdnames.c | 3 --- src/cc65/stdnames.h | 3 --- src/cc65/stmt.c | 4 ---- src/cc65/stmt.h | 3 --- src/cc65/swstmt.c | 3 --- src/cc65/swstmt.h | 4 +--- src/cc65/symentry.c | 3 --- src/cc65/symentry.h | 4 +--- src/cc65/symtab.c | 3 --- src/cc65/symtab.h | 3 --- src/cc65/testexpr.c | 4 ---- src/cc65/testexpr.h | 5 +--- src/cc65/textseg.c | 3 --- src/cc65/textseg.h | 4 +--- src/cc65/typecmp.c | 4 ---- src/cc65/typecmp.h | 4 ---- src/cc65/typeconv.c | 5 ---- src/cc65/typeconv.h | 4 +--- src/cc65/util.c | 3 --- src/cc65/util.h | 3 --- src/cl65/error.c | 2 -- src/cl65/error.h | 3 --- src/cl65/global.c | 3 --- src/cl65/global.h | 3 --- src/cl65/main.c | 3 --- src/cl65/spawn-amiga.inc | 3 --- src/cl65/spawn-unix.inc | 3 --- src/co65/convert.c | 3 --- src/co65/convert.h | 3 --- src/co65/error.c | 3 --- src/co65/error.h | 3 --- src/co65/fileio.c | 3 --- src/co65/fileio.h | 3 --- src/co65/global.c | 3 --- src/co65/global.h | 3 --- src/co65/main.c | 3 --- src/co65/model.c | 3 --- src/co65/model.h | 3 --- src/co65/o65.c | 3 --- src/co65/o65.h | 5 +--- src/common/abend.c | 3 --- src/common/abend.h | 3 --- src/common/addrsize.c | 3 --- src/common/addrsize.h | 3 --- src/common/alignment.c | 3 --- src/common/alignment.h | 3 --- src/common/assertion.c | 3 --- src/common/assertion.h | 3 --- src/common/attrib.h | 3 --- src/common/bitops.c | 3 --- src/common/bitops.h | 3 --- src/common/cddefs.h | 3 --- src/common/chartype.c | 3 --- src/common/chartype.h | 3 --- src/common/check.c | 3 --- src/common/check.h | 4 +--- src/common/cmdline.c | 4 ---- src/common/cmdline.h | 3 --- src/common/coll.c | 3 --- src/common/coll.h | 4 ---- src/common/cpu.c | 3 --- src/common/cpu.h | 3 --- src/common/debugflag.c | 3 --- src/common/debugflag.h | 4 +--- src/common/exprdefs.c | 3 --- src/common/exprdefs.h | 3 --- src/common/fileid.c | 3 --- src/common/fileid.h | 4 +--- src/common/filepos.c | 3 --- src/common/filepos.h | 3 --- src/common/filestat.c | 4 ++-- src/common/filestat.h | 3 --- src/common/filetime.c | 8 +++---- src/common/filetime.h | 3 --- src/common/filetype.c | 3 --- src/common/filetype.h | 4 +--- src/common/fname.c | 3 --- src/common/fname.h | 3 --- src/common/fp.c | 3 --- src/common/fp.h | 5 ---- src/common/fragdefs.h | 3 --- src/common/gentype.c | 3 --- src/common/gentype.h | 4 ---- src/common/hashfunc.c | 3 --- src/common/hashfunc.h | 3 --- src/common/hashtab.c | 3 --- src/common/hashtab.h | 3 --- src/common/hlldbgsym.h | 3 --- src/common/inline.h | 3 --- src/common/intstack.c | 3 --- src/common/intstack.h | 4 +--- src/common/inttypes.h | 4 +--- src/common/libdefs.h | 3 --- src/common/lidefs.h | 3 --- src/common/matchpat.c | 3 --- src/common/matchpat.h | 3 --- src/common/mmodel.c | 2 -- src/common/mmodel.h | 3 --- src/common/objdefs.h | 3 --- src/common/optdefs.h | 3 --- src/common/print.c | 3 --- src/common/print.h | 4 ---- src/common/scopedefs.h | 3 --- src/common/searchpath.h | 4 +--- src/common/segdefs.h | 3 --- src/common/segnames.c | 3 --- src/common/segnames.h | 3 --- src/common/shift.c | 3 --- src/common/shift.h | 3 --- src/common/strbuf.c | 3 --- src/common/strbuf.h | 3 --- src/common/strpool.c | 3 --- src/common/strpool.h | 3 --- src/common/strstack.c | 3 --- src/common/strstack.h | 4 +--- src/common/strutil.h | 3 --- src/common/symdefs.h | 3 --- src/common/target.c | 1 - src/common/target.h | 4 +--- src/common/tgttrans.c | 5 ---- src/common/tgttrans.h | 3 --- src/common/va_copy.h | 4 +--- src/common/version.c | 3 --- src/common/version.h | 4 ---- src/common/xmalloc.c | 3 --- src/common/xmalloc.h | 3 --- src/common/xsprintf.c | 3 --- src/common/xsprintf.h | 4 ---- src/da65/asminc.c | 3 --- src/da65/asminc.h | 4 +--- src/da65/attrtab.c | 3 --- src/da65/attrtab.h | 4 +--- src/da65/code.c | 3 --- src/da65/code.h | 4 +--- src/da65/comments.c | 3 --- src/da65/comments.h | 4 +--- src/da65/data.c | 3 --- src/da65/data.h | 4 +--- src/da65/error.c | 3 --- src/da65/error.h | 3 --- src/da65/global.c | 3 --- src/da65/global.h | 3 --- src/da65/handler.c | 3 --- src/da65/handler.h | 4 +--- src/da65/infofile.c | 6 ----- src/da65/infofile.h | 4 +--- src/da65/labels.c | 3 --- src/da65/labels.h | 4 +--- src/da65/main.c | 3 --- src/da65/opc6502.c | 3 --- src/da65/opc6502.h | 4 +--- src/da65/opc6502x.c | 4 ---- src/da65/opc65816.c | 3 --- src/da65/opc65816.h | 4 +--- src/da65/opc65c02.c | 3 --- src/da65/opc65c02.h | 4 +--- src/da65/opc65sc02.c | 3 --- src/da65/opc65sc02.h | 4 +--- src/da65/opcdesc.h | 4 +--- src/da65/opchuc6280.h | 4 +--- src/da65/opcm740.c | 3 --- src/da65/opcm740.h | 4 +--- src/da65/opctable.c | 4 ---- src/da65/opctable.h | 4 +--- src/da65/output.c | 3 --- src/da65/output.h | 5 +--- src/da65/scanner.c | 4 ---- src/da65/scanner.h | 4 +--- src/da65/segment.c | 3 --- src/da65/segment.h | 3 --- src/ld65/asserts.c | 3 --- src/ld65/asserts.h | 3 --- src/ld65/bin.c | 5 ---- src/ld65/bin.h | 3 --- src/ld65/binfmt.c | 3 --- src/ld65/binfmt.h | 3 --- src/ld65/cfgexpr.c | 3 --- src/ld65/cfgexpr.h | 4 +--- src/ld65/condes.c | 3 --- src/ld65/condes.h | 3 --- src/ld65/config.c | 3 --- src/ld65/config.h | 5 ---- src/ld65/dbgfile.c | 3 --- src/ld65/dbgfile.h | 3 --- src/ld65/dbgsyms.c | 4 ---- src/ld65/dbgsyms.h | 3 --- src/ld65/error.c | 3 --- src/ld65/error.h | 3 --- src/ld65/exports.c | 4 ---- src/ld65/exports.h | 4 ---- src/ld65/expr.c | 3 --- src/ld65/expr.h | 3 --- src/ld65/extsyms.c | 4 ---- src/ld65/extsyms.h | 4 ---- src/ld65/fileinfo.c | 3 --- src/ld65/fileinfo.h | 4 +--- src/ld65/fileio.c | 4 ---- src/ld65/fileio.h | 3 --- src/ld65/filepath.c | 3 --- src/ld65/filepath.h | 4 +--- src/ld65/fragment.c | 3 --- src/ld65/fragment.h | 4 ---- src/ld65/global.c | 3 --- src/ld65/global.h | 3 --- src/ld65/library.c | 4 ---- src/ld65/library.h | 3 --- src/ld65/lineinfo.c | 3 --- src/ld65/lineinfo.h | 4 +--- src/ld65/main.c | 3 --- src/ld65/mapfile.c | 3 --- src/ld65/mapfile.h | 3 --- src/ld65/memarea.c | 4 ---- src/ld65/memarea.h | 5 ---- src/ld65/o65.c | 4 ---- src/ld65/o65.h | 3 --- src/ld65/objdata.c | 4 ---- src/ld65/objdata.h | 5 ---- src/ld65/objfile.c | 4 ---- src/ld65/objfile.h | 3 --- src/ld65/scanner.c | 3 --- src/ld65/scanner.h | 4 +--- src/ld65/scopes.c | 3 --- src/ld65/scopes.h | 3 --- src/ld65/segments.c | 3 --- src/ld65/segments.h | 4 ---- src/ld65/span.c | 3 --- src/ld65/span.h | 4 +--- src/ld65/spool.c | 4 ---- src/ld65/spool.h | 4 ---- src/ld65/tpool.c | 3 --- src/ld65/tpool.h | 4 ---- src/od65/dump.c | 4 ---- src/od65/dump.h | 4 ---- src/od65/error.c | 3 --- src/od65/error.h | 3 --- src/od65/fileio.c | 3 --- src/od65/fileio.h | 3 --- src/od65/global.c | 3 --- src/od65/global.h | 3 --- src/od65/main.c | 3 --- src/sim65/error.c | 3 --- src/sim65/error.h | 3 --- src/sim65/memory.h | 4 ---- src/sp65/asm.c | 3 --- src/sp65/asm.h | 3 --- src/sp65/attr.c | 3 --- src/sp65/attr.h | 3 --- src/sp65/bin.c | 3 --- src/sp65/bin.h | 3 --- src/sp65/bitmap.c | 3 --- src/sp65/bitmap.h | 3 --- src/sp65/c.c | 3 --- src/sp65/c.h | 3 --- src/sp65/color.c | 3 --- src/sp65/color.h | 3 --- src/sp65/convert.c | 1 - src/sp65/convert.h | 3 --- src/sp65/error.c | 3 --- src/sp65/error.h | 3 --- src/sp65/fileio.c | 3 --- src/sp65/fileio.h | 3 --- src/sp65/geosbitmap.c | 3 --- src/sp65/geosicon.c | 3 --- src/sp65/geosicon.h | 3 --- src/sp65/input.c | 3 --- src/sp65/input.h | 3 --- src/sp65/koala.c | 3 --- src/sp65/koala.h | 3 --- src/sp65/lynxsprite.c | 3 --- src/sp65/lynxsprite.h | 3 --- src/sp65/main.c | 3 --- src/sp65/output.c | 3 --- src/sp65/output.h | 3 --- src/sp65/palette.c | 3 --- src/sp65/palette.h | 3 --- src/sp65/pcx.c | 3 --- src/sp65/pcx.h | 3 --- src/sp65/pixel.h | 3 --- src/sp65/raw.c | 3 --- src/sp65/raw.h | 4 +--- src/sp65/vic2sprite.c | 3 --- src/sp65/vic2sprite.h | 3 --- 502 files changed, 96 insertions(+), 1660 deletions(-) diff --git a/src/ar65/add.c b/src/ar65/add.c index cecb89292..a44524368 100644 --- a/src/ar65/add.c +++ b/src/ar65/add.c @@ -77,7 +77,3 @@ void AddObjFiles (int argc, char* argv []) /* Successful end */ exit (EXIT_SUCCESS); } - - - - diff --git a/src/ar65/add.h b/src/ar65/add.h index abaf017b6..c3de2bb0a 100644 --- a/src/ar65/add.h +++ b/src/ar65/add.h @@ -52,7 +52,3 @@ void AddObjFiles (int argc, char* argv []); /* End of add.h */ #endif - - - - diff --git a/src/ar65/del.c b/src/ar65/del.c index d95c012f9..0c1343de3 100644 --- a/src/ar65/del.c +++ b/src/ar65/del.c @@ -78,7 +78,3 @@ void DelObjFiles (int argc, char* argv []) /* Successful end */ exit (EXIT_SUCCESS); } - - - - diff --git a/src/ar65/del.h b/src/ar65/del.h index f25672609..6100fe60a 100644 --- a/src/ar65/del.h +++ b/src/ar65/del.h @@ -52,7 +52,3 @@ void DelObjFiles (int argc, char* argv []); /* End of del.h */ #endif - - - - diff --git a/src/ar65/error.c b/src/ar65/error.c index d21c9e9b7..47ee90aa5 100644 --- a/src/ar65/error.c +++ b/src/ar65/error.c @@ -89,6 +89,3 @@ void Internal (const char* Format, ...) va_end (ap); exit (EXIT_FAILURE); } - - - diff --git a/src/ar65/error.h b/src/ar65/error.h index abff5bd2a..4052ee3eb 100644 --- a/src/ar65/error.h +++ b/src/ar65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/ar65/exports.c b/src/ar65/exports.c index 75a1986e8..11589a621 100644 --- a/src/ar65/exports.c +++ b/src/ar65/exports.c @@ -147,6 +147,3 @@ const ObjData* ExpFind (const char* Name) /* Not found */ return 0; } - - - diff --git a/src/ar65/exports.h b/src/ar65/exports.h index 272b19d63..2dcd8a49c 100644 --- a/src/ar65/exports.h +++ b/src/ar65/exports.h @@ -67,6 +67,3 @@ const struct ObjData* ExpFind (const char* Name); /* End of exports.h */ #endif - - - diff --git a/src/ar65/extract.c b/src/ar65/extract.c index 43d7c5b3b..c1a8fd82b 100644 --- a/src/ar65/extract.c +++ b/src/ar65/extract.c @@ -77,6 +77,3 @@ void ExtractObjFiles (int argc, char* argv []) /* Successful end */ exit (EXIT_SUCCESS); } - - - diff --git a/src/ar65/extract.h b/src/ar65/extract.h index 705d2c8e1..d09368c73 100644 --- a/src/ar65/extract.h +++ b/src/ar65/extract.h @@ -52,7 +52,3 @@ void ExtractObjFiles (int argc, char* argv []); /* End of extract.h */ #endif - - - - diff --git a/src/ar65/fileio.c b/src/ar65/fileio.c index 0bd925f15..5126d7fe2 100644 --- a/src/ar65/fileio.c +++ b/src/ar65/fileio.c @@ -201,54 +201,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size) } return Data; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/ar65/fileio.h b/src/ar65/fileio.h index 0c69f7c13..17a3d2d0d 100644 --- a/src/ar65/fileio.h +++ b/src/ar65/fileio.h @@ -89,6 +89,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size); /* End of fileio.h */ #endif - - - diff --git a/src/ar65/global.c b/src/ar65/global.c index 02157f08b..75eadc0a7 100644 --- a/src/ar65/global.c +++ b/src/ar65/global.c @@ -40,6 +40,3 @@ /*****************************************************************************/ /* Data */ /*****************************************************************************/ - - - diff --git a/src/ar65/global.h b/src/ar65/global.h index f35452d5c..9b8f128f9 100644 --- a/src/ar65/global.h +++ b/src/ar65/global.h @@ -47,6 +47,3 @@ /* End of global.h */ #endif - - - diff --git a/src/ar65/library.c b/src/ar65/library.c index e68f23d3d..8d92a1ec6 100644 --- a/src/ar65/library.c +++ b/src/ar65/library.c @@ -405,6 +405,3 @@ void LibClose (void) Error ("Problem deleting temporary library file: %s", strerror (errno)); } } - - - diff --git a/src/ar65/library.h b/src/ar65/library.h index 3453f1ea5..f7b203aa4 100644 --- a/src/ar65/library.h +++ b/src/ar65/library.h @@ -83,6 +83,3 @@ void LibClose (void); /* End of library.h */ #endif - - - diff --git a/src/ar65/list.c b/src/ar65/list.c index a3536c7d2..656299860 100644 --- a/src/ar65/list.c +++ b/src/ar65/list.c @@ -84,6 +84,3 @@ void ListObjFiles (int argc, char* argv []) /* Successful end */ exit (EXIT_SUCCESS); } - - - diff --git a/src/ar65/list.h b/src/ar65/list.h index ea6a62512..f29323b2e 100644 --- a/src/ar65/list.h +++ b/src/ar65/list.h @@ -52,7 +52,3 @@ void ListObjFiles (int argc, char* argv []); /* End of list.h */ #endif - - - - diff --git a/src/ar65/main.c b/src/ar65/main.c index 9af480632..9b9097ea4 100644 --- a/src/ar65/main.c +++ b/src/ar65/main.c @@ -137,6 +137,3 @@ int main (int argc, char* argv []) /* Return an apropriate exit code */ return EXIT_SUCCESS; } - - - diff --git a/src/ar65/objdata.c b/src/ar65/objdata.c index b419fac4d..2a7cf4ed4 100644 --- a/src/ar65/objdata.c +++ b/src/ar65/objdata.c @@ -167,6 +167,3 @@ void DelObjData (const char* Module) /* Not found! */ Warning ("Module `%s' not found in library `%s'", Module, LibName); } - - - diff --git a/src/ar65/objdata.h b/src/ar65/objdata.h index 52e175e84..13590ee4d 100644 --- a/src/ar65/objdata.h +++ b/src/ar65/objdata.h @@ -108,6 +108,3 @@ void DelObjData (const char* Module); /* End of objdata.h */ #endif - - - diff --git a/src/ar65/objfile.c b/src/ar65/objfile.c index 4f937a5de..933a68852 100644 --- a/src/ar65/objfile.c +++ b/src/ar65/objfile.c @@ -337,6 +337,3 @@ void ObjExtract (const char* Name) Error ("Cannot set mod time on `%s': %s", Name, strerror (errno)); } } - - - diff --git a/src/ar65/objfile.h b/src/ar65/objfile.h index 3f24c7c50..f971d3ec6 100644 --- a/src/ar65/objfile.h +++ b/src/ar65/objfile.h @@ -74,6 +74,3 @@ void ObjExtract (const char* Name); /* End of objfile.h */ #endif - - - diff --git a/src/ca65/anonname.c b/src/ca65/anonname.c index d01ae2aa1..242486916 100644 --- a/src/ca65/anonname.c +++ b/src/ca65/anonname.c @@ -79,6 +79,3 @@ int IsAnonName (const StrBuf* Name) } return (strncmp (SB_GetConstBuf (Name), AnonTag, sizeof (AnonTag) - 1) == 0); } - - - diff --git a/src/ca65/anonname.h b/src/ca65/anonname.h index bfefc05b5..fdb64159a 100644 --- a/src/ca65/anonname.h +++ b/src/ca65/anonname.h @@ -61,7 +61,5 @@ int IsAnonName (const StrBuf* Name); /* End of anonname.h */ -#endif - - +#endif diff --git a/src/ca65/asserts.c b/src/ca65/asserts.c index a1a61a117..0d4c856a3 100644 --- a/src/ca65/asserts.c +++ b/src/ca65/asserts.c @@ -176,8 +176,3 @@ void WriteAssertions (void) /* Done writing the assertions */ ObjEndAssertions (); } - - - - - diff --git a/src/ca65/asserts.h b/src/ca65/asserts.h index f860a1af3..c69fe3be1 100644 --- a/src/ca65/asserts.h +++ b/src/ca65/asserts.h @@ -74,6 +74,3 @@ void WriteAssertions (void); /* End of asserts.h */ #endif - - - diff --git a/src/ca65/condasm.c b/src/ca65/condasm.c index 8be5cb687..c9506c316 100644 --- a/src/ca65/condasm.c +++ b/src/ca65/condasm.c @@ -523,7 +523,3 @@ void CleanupIfStack (unsigned SP) /* Calculate the new overall .IF condition */ CalcOverallIfCond (); } - - - - diff --git a/src/ca65/condasm.h b/src/ca65/condasm.h index 3489310d5..fa1842bf3 100644 --- a/src/ca65/condasm.h +++ b/src/ca65/condasm.h @@ -80,6 +80,3 @@ void CleanupIfStack (unsigned SP); /* End of condasm.h */ #endif - - - diff --git a/src/ca65/dbginfo.c b/src/ca65/dbginfo.c index b1b845fc9..5e1bf912a 100644 --- a/src/ca65/dbginfo.c +++ b/src/ca65/dbginfo.c @@ -527,6 +527,3 @@ void WriteHLLDbgSyms (void) } } - - - diff --git a/src/ca65/dbginfo.h b/src/ca65/dbginfo.h index 32cb3ca51..9f8139f6c 100644 --- a/src/ca65/dbginfo.h +++ b/src/ca65/dbginfo.h @@ -67,8 +67,3 @@ void WriteHLLDbgSyms (void); /* End of dbginfo.h */ #endif - - - - - diff --git a/src/ca65/ea.h b/src/ca65/ea.h index 5a65638a0..9a038047c 100644 --- a/src/ca65/ea.h +++ b/src/ca65/ea.h @@ -63,6 +63,3 @@ struct EffAddr { /* End of ea.h */ #endif - - - diff --git a/src/ca65/ea65.c b/src/ca65/ea65.c index 7db71a185..71fea6296 100644 --- a/src/ca65/ea65.c +++ b/src/ca65/ea65.c @@ -200,7 +200,3 @@ void GetEA (EffAddr* A) /* Apply addressing mode overrides */ A->AddrModeSet &= Restrictions; } - - - - diff --git a/src/ca65/ea65.h b/src/ca65/ea65.h index f7f8c2018..066d9b0cc 100644 --- a/src/ca65/ea65.h +++ b/src/ca65/ea65.h @@ -62,6 +62,3 @@ void GetEA (EffAddr* A); /* End of ea65.h */ #endif - - - diff --git a/src/ca65/enum.c b/src/ca65/enum.c index 08ef52fa6..f0561b692 100644 --- a/src/ca65/enum.c +++ b/src/ca65/enum.c @@ -151,7 +151,3 @@ void DoEnum (void) /* Free the base expression */ FreeExpr (BaseExpr); } - - - - diff --git a/src/ca65/enum.h b/src/ca65/enum.h index 5e85255f0..7d73a97b8 100644 --- a/src/ca65/enum.h +++ b/src/ca65/enum.h @@ -52,6 +52,3 @@ void DoEnum (void); /* End of enum.h */ #endif - - - diff --git a/src/ca65/error.c b/src/ca65/error.c index ffda60ecd..6731aa0e5 100644 --- a/src/ca65/error.c +++ b/src/ca65/error.c @@ -400,6 +400,3 @@ void Internal (const char* Format, ...) exit (EXIT_FAILURE); } - - - diff --git a/src/ca65/error.h b/src/ca65/error.h index d86e68c42..776053678 100644 --- a/src/ca65/error.h +++ b/src/ca65/error.h @@ -98,7 +98,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - - diff --git a/src/ca65/expr.c b/src/ca65/expr.c index ecbd22a27..471700e46 100644 --- a/src/ca65/expr.c +++ b/src/ca65/expr.c @@ -1942,6 +1942,3 @@ ExprNode* BoundedExpr (ExprNode* (*ExprFunc) (void), unsigned Size) { return MakeBoundedExpr (ExprFunc (), Size); } - - - diff --git a/src/ca65/expr.h b/src/ca65/expr.h index 17f547beb..0105bb68f 100644 --- a/src/ca65/expr.h +++ b/src/ca65/expr.h @@ -179,6 +179,3 @@ ExprNode* BoundedExpr (ExprNode* (*ExprFunc) (void), unsigned Size); /* End of expr.h */ #endif - - - diff --git a/src/ca65/feature.c b/src/ca65/feature.c index c2532c595..9a6055cb9 100644 --- a/src/ca65/feature.c +++ b/src/ca65/feature.c @@ -125,6 +125,3 @@ feature_t SetFeature (const StrBuf* Key) /* Return the value found */ return Feature; } - - - diff --git a/src/ca65/feature.h b/src/ca65/feature.h index 53016b21c..563ef5c2d 100644 --- a/src/ca65/feature.h +++ b/src/ca65/feature.h @@ -94,6 +94,3 @@ feature_t SetFeature (const StrBuf* Key); /* End of feature.h */ #endif - - - diff --git a/src/ca65/filetab.c b/src/ca65/filetab.c index bf5b32503..0b7d7eb80 100644 --- a/src/ca65/filetab.c +++ b/src/ca65/filetab.c @@ -336,5 +336,3 @@ void CreateDependencies (void) FT_MAIN | FT_INCLUDE | FT_BINARY | FT_DBGINFO); } } - - diff --git a/src/ca65/filetab.h b/src/ca65/filetab.h index af5909c4c..b6fd2b6a5 100644 --- a/src/ca65/filetab.h +++ b/src/ca65/filetab.h @@ -90,8 +90,3 @@ void CreateDependencies (void); /* End of filetab.h */ #endif - - - - - diff --git a/src/ca65/fragment.c b/src/ca65/fragment.c index e1a55edb3..b4997cb6d 100644 --- a/src/ca65/fragment.c +++ b/src/ca65/fragment.c @@ -66,6 +66,3 @@ Fragment* NewFragment (unsigned char Type, unsigned short Len) /* And return it */ return F; } - - - diff --git a/src/ca65/fragment.h b/src/ca65/fragment.h index 99852202a..2420d332e 100644 --- a/src/ca65/fragment.h +++ b/src/ca65/fragment.h @@ -82,8 +82,5 @@ Fragment* NewFragment (unsigned char Type, unsigned short Len); /* End of fragment.h */ -#endif - - - +#endif diff --git a/src/ca65/global.h b/src/ca65/global.h index 23bbe4884..378a776e6 100644 --- a/src/ca65/global.h +++ b/src/ca65/global.h @@ -90,6 +90,3 @@ extern unsigned char UnderlineInNumbers; /* Allow underlines in numbers */ /* End of global.h */ #endif - - - diff --git a/src/ca65/incpath.c b/src/ca65/incpath.c index 81422b059..ff21b175d 100644 --- a/src/ca65/incpath.c +++ b/src/ca65/incpath.c @@ -82,6 +82,3 @@ void FinishIncludePaths (void) /* Add paths relative to the parent directory of the Windows binary. */ AddSubSearchPathFromWinBin (IncSearchPath, "asminc"); } - - - diff --git a/src/ca65/incpath.h b/src/ca65/incpath.h index 5e23ebc72..818e36265 100644 --- a/src/ca65/incpath.h +++ b/src/ca65/incpath.h @@ -71,6 +71,3 @@ void FinishIncludePaths (void); /* End of incpath.h */ #endif - - - diff --git a/src/ca65/instr.c b/src/ca65/instr.c index e0e3fc08c..1c7be086b 100644 --- a/src/ca65/instr.c +++ b/src/ca65/instr.c @@ -1521,6 +1521,3 @@ void HandleInstruction (unsigned Index) /* Call the handler */ InsTab->Ins[Index].Emit (&InsTab->Ins[Index]); } - - - diff --git a/src/ca65/instr.h b/src/ca65/instr.h index ead36a0c2..28809500f 100644 --- a/src/ca65/instr.h +++ b/src/ca65/instr.h @@ -179,8 +179,3 @@ void HandleInstruction (unsigned Index); /* End of instr.h */ #endif - - - - - diff --git a/src/ca65/istack.c b/src/ca65/istack.c index 507d56ba5..14cae0ac9 100644 --- a/src/ca65/istack.c +++ b/src/ca65/istack.c @@ -156,6 +156,3 @@ void CheckInputStack (void) Error ("Open %s", IStack->Desc); } } - - - diff --git a/src/ca65/istack.h b/src/ca65/istack.h index 06ff066e4..dd982194a 100644 --- a/src/ca65/istack.h +++ b/src/ca65/istack.h @@ -68,7 +68,3 @@ void CheckInputStack (void); /* End of istack.h */ #endif - - - - diff --git a/src/ca65/lineinfo.c b/src/ca65/lineinfo.c index dbc5b4d41..acdaf04cc 100644 --- a/src/ca65/lineinfo.c +++ b/src/ca65/lineinfo.c @@ -501,6 +501,3 @@ void WriteLineInfos (void) /* End of line infos */ ObjEndLineInfos (); } - - - diff --git a/src/ca65/lineinfo.h b/src/ca65/lineinfo.h index 41b44c0bc..5998b1253 100644 --- a/src/ca65/lineinfo.h +++ b/src/ca65/lineinfo.h @@ -115,8 +115,5 @@ void WriteLineInfos (void); /* End of lineinfo.h */ -#endif - - - +#endif diff --git a/src/ca65/listing.c b/src/ca65/listing.c index 8bd8833dd..dc10882ac 100644 --- a/src/ca65/listing.c +++ b/src/ca65/listing.c @@ -452,6 +452,3 @@ void CreateListing (void) /* Close the listing file */ (void) fclose (F); } - - - diff --git a/src/ca65/listing.h b/src/ca65/listing.h index bea716bf1..b1ae44291 100644 --- a/src/ca65/listing.h +++ b/src/ca65/listing.h @@ -123,6 +123,3 @@ void CreateListing (void); /* End of listing.h */ #endif - - - diff --git a/src/ca65/macro.c b/src/ca65/macro.c index 75741c479..c5c55228f 100644 --- a/src/ca65/macro.c +++ b/src/ca65/macro.c @@ -1049,6 +1049,3 @@ void EnableDefineStyleMacros (void) PRECONDITION (DisableDefines > 0); --DisableDefines; } - - - diff --git a/src/ca65/macro.h b/src/ca65/macro.h index 582b13524..a526d6119 100644 --- a/src/ca65/macro.h +++ b/src/ca65/macro.h @@ -110,6 +110,3 @@ void EnableDefineStyleMacros (void); /* End of macro.h */ #endif - - - diff --git a/src/ca65/main.c b/src/ca65/main.c index 4ec98b01d..6d146f6e6 100644 --- a/src/ca65/main.c +++ b/src/ca65/main.c @@ -1116,6 +1116,3 @@ int main (int argc, char* argv []) /* Return an apropriate exit code */ return (ErrorCount == 0)? EXIT_SUCCESS : EXIT_FAILURE; } - - - diff --git a/src/ca65/nexttok.c b/src/ca65/nexttok.c index d52a8babd..6d4af26af 100644 --- a/src/ca65/nexttok.c +++ b/src/ca65/nexttok.c @@ -816,6 +816,3 @@ void LeaveRawTokenMode (void) PRECONDITION (RawMode > 0); --RawMode; } - - - diff --git a/src/ca65/nexttok.h b/src/ca65/nexttok.h index d8d7c0101..b948e5054 100644 --- a/src/ca65/nexttok.h +++ b/src/ca65/nexttok.h @@ -90,7 +90,3 @@ void LeaveRawTokenMode (void); /* End of nexttok.h */ #endif - - - - diff --git a/src/ca65/objcode.c b/src/ca65/objcode.c index 3ab9b2ebe..d1ab4f6bd 100644 --- a/src/ca65/objcode.c +++ b/src/ca65/objcode.c @@ -278,6 +278,3 @@ void EmitFill (unsigned long Count) GenFragment (FRAG_FILL, Chunk); } } - - - diff --git a/src/ca65/objcode.h b/src/ca65/objcode.h index 68b967e3f..70a031164 100644 --- a/src/ca65/objcode.h +++ b/src/ca65/objcode.h @@ -94,6 +94,3 @@ void EmitFill (unsigned long Count); /* End of objcode.h */ #endif - - - diff --git a/src/ca65/objfile.c b/src/ca65/objfile.c index 818e5625b..c0e08996f 100644 --- a/src/ca65/objfile.c +++ b/src/ca65/objfile.c @@ -512,6 +512,3 @@ void ObjEndSpans (void) { Header.SpanSize = ftell (F) - Header.SpanOffs; } - - - diff --git a/src/ca65/objfile.h b/src/ca65/objfile.h index ab775ca24..c1d148725 100644 --- a/src/ca65/objfile.h +++ b/src/ca65/objfile.h @@ -160,6 +160,3 @@ void ObjEndSpans (void); /* End of objfile.h */ #endif - - - diff --git a/src/ca65/options.h b/src/ca65/options.h index 6b4184824..96eb90ba7 100644 --- a/src/ca65/options.h +++ b/src/ca65/options.h @@ -73,6 +73,3 @@ void WriteOptions (void); /* End of options.h */ #endif - - - diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index 3af192610..55b5cfe03 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -2145,6 +2145,3 @@ void CheckPseudo (void) Warning (1, "CPU stack is not empty"); } } - - - diff --git a/src/ca65/pseudo.h b/src/ca65/pseudo.h index 006b27909..6199f661e 100644 --- a/src/ca65/pseudo.h +++ b/src/ca65/pseudo.h @@ -55,6 +55,3 @@ void CheckPseudo (void); /* End of pseudo.h */ #endif - - - diff --git a/src/ca65/repeat.c b/src/ca65/repeat.c index 915c8a78f..a98d0c39d 100644 --- a/src/ca65/repeat.c +++ b/src/ca65/repeat.c @@ -175,6 +175,3 @@ Done: /* Switch out of raw token mode */ LeaveRawTokenMode (); } - - - diff --git a/src/ca65/repeat.h b/src/ca65/repeat.h index 1cdccc0e3..3230fb657 100644 --- a/src/ca65/repeat.h +++ b/src/ca65/repeat.h @@ -52,7 +52,3 @@ void ParseRepeat (void); /* End of repeat.h */ #endif - - - - diff --git a/src/ca65/scanner.c b/src/ca65/scanner.c index 1a1127778..79055399e 100644 --- a/src/ca65/scanner.c +++ b/src/ca65/scanner.c @@ -1505,7 +1505,3 @@ void DoneScanner (void) { DoneCharSource (); } - - - - diff --git a/src/ca65/scanner.h b/src/ca65/scanner.h index b0fc3411f..0985028fc 100644 --- a/src/ca65/scanner.h +++ b/src/ca65/scanner.h @@ -108,7 +108,3 @@ void DoneScanner (void); /* End of scanner.h */ #endif - - - - diff --git a/src/ca65/segdef.c b/src/ca65/segdef.c index 3c1a59992..bf735ef31 100644 --- a/src/ca65/segdef.c +++ b/src/ca65/segdef.c @@ -77,7 +77,3 @@ SegDef* DupSegDef (const SegDef* Def) { return NewSegDef (Def->Name, Def->AddrSize); } - - - - diff --git a/src/ca65/segdef.h b/src/ca65/segdef.h index c7431b9a2..824a59bed 100644 --- a/src/ca65/segdef.h +++ b/src/ca65/segdef.h @@ -81,6 +81,3 @@ SegDef* DupSegDef (const SegDef* D); /* End of segdef.h */ #endif - - - diff --git a/src/ca65/segment.c b/src/ca65/segment.c index 60a897324..742bbbbcd 100644 --- a/src/ca65/segment.c +++ b/src/ca65/segment.c @@ -627,7 +627,3 @@ void WriteSegments (void) /* Done writing segments */ ObjEndSegments (); } - - - - diff --git a/src/ca65/segment.h b/src/ca65/segment.h index 69a3eb833..d7e8b737c 100644 --- a/src/ca65/segment.h +++ b/src/ca65/segment.h @@ -174,6 +174,3 @@ void WriteSegments (void); /* End of segment.h */ #endif - - - diff --git a/src/ca65/sizeof.c b/src/ca65/sizeof.c index a29c83e9d..479a00ccf 100644 --- a/src/ca65/sizeof.c +++ b/src/ca65/sizeof.c @@ -130,6 +130,3 @@ SymEntry* DefSizeOfSymbol (SymEntry* Sym, long Size) SymDef (SizeSym, GenLiteralExpr (Size), ADDR_SIZE_DEFAULT, SF_NONE); return SizeSym; } - - - diff --git a/src/ca65/sizeof.h b/src/ca65/sizeof.h index 2bb400d83..5ca8fcd1a 100644 --- a/src/ca65/sizeof.h +++ b/src/ca65/sizeof.h @@ -95,7 +95,5 @@ struct SymEntry* DefSizeOfSymbol (struct SymEntry* Sym, long Size); /* End of sizeof.h */ -#endif - - +#endif diff --git a/src/ca65/span.c b/src/ca65/span.c index ebec761fe..5b42d9eb5 100644 --- a/src/ca65/span.c +++ b/src/ca65/span.c @@ -407,7 +407,3 @@ void WriteSpans (void) /* Done writing the spans */ ObjEndSpans (); } - - - - diff --git a/src/ca65/span.h b/src/ca65/span.h index 3ca99ee8f..5eb3affdc 100644 --- a/src/ca65/span.h +++ b/src/ca65/span.h @@ -117,6 +117,3 @@ void WriteSpans (void); /* End of span.h */ #endif - - - diff --git a/src/ca65/spool.c b/src/ca65/spool.c index d30045195..a25702fdf 100644 --- a/src/ca65/spool.c +++ b/src/ca65/spool.c @@ -89,6 +89,3 @@ void InitStrPool (void) /* Insert an empty string. It will have string id 0 */ SP_AddStr (StrPool, ""); } - - - diff --git a/src/ca65/spool.h b/src/ca65/spool.h index 744e8e5bb..e8d115298 100644 --- a/src/ca65/spool.h +++ b/src/ca65/spool.h @@ -114,7 +114,3 @@ void InitStrPool (void); /* End of spool.h */ #endif - - - - diff --git a/src/ca65/struct.c b/src/ca65/struct.c index 1ad5832c0..683bd067c 100644 --- a/src/ca65/struct.c +++ b/src/ca65/struct.c @@ -299,6 +299,3 @@ void DoUnion (void) { DoStructInternal (0, UNION); } - - - diff --git a/src/ca65/struct.h b/src/ca65/struct.h index 9175a498c..1fdaf9d60 100644 --- a/src/ca65/struct.h +++ b/src/ca65/struct.h @@ -68,6 +68,3 @@ void DoUnion (void); /* End of struct.h */ #endif - - - diff --git a/src/ca65/studyexpr.c b/src/ca65/studyexpr.c index 5ff1cc369..cb2795bd3 100644 --- a/src/ca65/studyexpr.c +++ b/src/ca65/studyexpr.c @@ -1539,6 +1539,3 @@ void StudyExpr (ExprNode* Expr, ExprDesc* D) printf ("%u sections:\n", D->SecCount); #endif } - - - diff --git a/src/ca65/studyexpr.h b/src/ca65/studyexpr.h index 504323e13..389bce5a3 100644 --- a/src/ca65/studyexpr.h +++ b/src/ca65/studyexpr.h @@ -118,7 +118,5 @@ void StudyExpr (ExprNode* Expr, ExprDesc* D); /* End of studyexpr.h */ -#endif - - +#endif diff --git a/src/ca65/symbol.c b/src/ca65/symbol.c index b9e2a6c16..5eed70beb 100644 --- a/src/ca65/symbol.c +++ b/src/ca65/symbol.c @@ -262,6 +262,3 @@ SymEntry* ParseAnySymName (SymFindAction Action) /* Return the symbol found */ return Sym; } - - - diff --git a/src/ca65/symbol.h b/src/ca65/symbol.h index 30964f0c0..8ea5d7d20 100644 --- a/src/ca65/symbol.h +++ b/src/ca65/symbol.h @@ -88,6 +88,3 @@ struct SymEntry* ParseAnySymName (SymFindAction Action); /* End of symbol.h */ #endif - - - diff --git a/src/ca65/symentry.c b/src/ca65/symentry.c index 612bc09f2..411f3ac33 100644 --- a/src/ca65/symentry.c +++ b/src/ca65/symentry.c @@ -744,6 +744,3 @@ unsigned GetSymInfoFlags (const SymEntry* S, long* ConstVal) /* Return the result */ return Flags; } - - - diff --git a/src/ca65/symentry.h b/src/ca65/symentry.h index a9b1386e3..a5900bcd0 100644 --- a/src/ca65/symentry.h +++ b/src/ca65/symentry.h @@ -359,7 +359,3 @@ unsigned GetSymInfoFlags (const SymEntry* Sym, long* ConstVal); /* End of symentry.h */ #endif - - - - diff --git a/src/ca65/symtab.c b/src/ca65/symtab.c index 2681605fa..001d564ea 100644 --- a/src/ca65/symtab.c +++ b/src/ca65/symtab.c @@ -1031,6 +1031,3 @@ void WriteScopes (void) /* Done writing the scopes */ ObjEndScopes (); } - - - diff --git a/src/ca65/symtab.h b/src/ca65/symtab.h index e7f7384d0..de5806124 100644 --- a/src/ca65/symtab.h +++ b/src/ca65/symtab.h @@ -178,6 +178,3 @@ void WriteScopes (void); /* End of symtab.h */ #endif - - - diff --git a/src/ca65/token.c b/src/ca65/token.c index b2d103dde..d3324d447 100644 --- a/src/ca65/token.c +++ b/src/ca65/token.c @@ -72,6 +72,3 @@ void CopyToken (Token* Dst, const Token* Src) SB_Copy (&Dst->SVal, &Src->SVal); Dst->Pos = Src->Pos; } - - - diff --git a/src/ca65/token.h b/src/ca65/token.h index 6499a14bd..56d780e56 100644 --- a/src/ca65/token.h +++ b/src/ca65/token.h @@ -314,6 +314,3 @@ void CopyToken (Token* Dst, const Token* Src); /* End of token.h */ #endif - - - diff --git a/src/ca65/toklist.c b/src/ca65/toklist.c index e6adf3d96..43b3f3c7d 100644 --- a/src/ca65/toklist.c +++ b/src/ca65/toklist.c @@ -283,6 +283,3 @@ void PushTokList (TokList* List, const char* Desc) ++PushCounter; PushInput (ReplayTokList, List, Desc); } - - - diff --git a/src/ca65/toklist.h b/src/ca65/toklist.h index 6e7a414cc..84b4291f4 100644 --- a/src/ca65/toklist.h +++ b/src/ca65/toklist.h @@ -129,7 +129,3 @@ void PushTokList (TokList* List, const char* Desc); /* End of toklist.h */ #endif - - - - diff --git a/src/ca65/ulabel.c b/src/ca65/ulabel.c index 140dad3d9..efebce56c 100644 --- a/src/ca65/ulabel.c +++ b/src/ca65/ulabel.c @@ -223,7 +223,3 @@ void ULabDone (void) ReleaseFullLineInfo (&L->LineInfos); } } - - - - diff --git a/src/ca65/ulabel.h b/src/ca65/ulabel.h index c7c172918..a925a5f87 100644 --- a/src/ca65/ulabel.h +++ b/src/ca65/ulabel.h @@ -74,6 +74,3 @@ void ULabDone (void); /* End of ulabel.h */ #endif - - - diff --git a/src/cc65/anonname.c b/src/cc65/anonname.c index 2c33b3f17..8e46269d2 100644 --- a/src/cc65/anonname.c +++ b/src/cc65/anonname.c @@ -78,6 +78,3 @@ int IsAnonName (const char* Name) { return (strncmp (Name, AnonTag, sizeof (AnonTag) - 1) == 0); } - - - diff --git a/src/cc65/anonname.h b/src/cc65/anonname.h index 43292505e..c7661f336 100644 --- a/src/cc65/anonname.h +++ b/src/cc65/anonname.h @@ -55,7 +55,5 @@ int IsAnonName (const char* Name); /* End of anonname.h */ -#endif - - +#endif diff --git a/src/cc65/asmcode.c b/src/cc65/asmcode.c index ec0a8791e..46bce4bed 100644 --- a/src/cc65/asmcode.c +++ b/src/cc65/asmcode.c @@ -130,6 +130,3 @@ void WriteAsmOutput (void) Entry = Entry->NextSym; } } - - - diff --git a/src/cc65/asmcode.h b/src/cc65/asmcode.h index 5d70ae381..248381224 100644 --- a/src/cc65/asmcode.h +++ b/src/cc65/asmcode.h @@ -88,8 +88,5 @@ void WriteAsmOutput (void); /* End of asmcode.h */ -#endif - - - +#endif diff --git a/src/cc65/asmlabel.c b/src/cc65/asmlabel.c index 46330c303..da986c5ff 100644 --- a/src/cc65/asmlabel.c +++ b/src/cc65/asmlabel.c @@ -98,7 +98,3 @@ int IsLocalLabelName (const char* Name) /* Local label name */ return 1; } - - - - diff --git a/src/cc65/asmlabel.h b/src/cc65/asmlabel.h index 44235c9d9..88cbcd622 100644 --- a/src/cc65/asmlabel.h +++ b/src/cc65/asmlabel.h @@ -59,7 +59,5 @@ int IsLocalLabelName (const char* Name); /* End of asmlabel.h */ -#endif - - +#endif diff --git a/src/cc65/asmstmt.c b/src/cc65/asmstmt.c index ce2660e54..b3b452c1a 100644 --- a/src/cc65/asmstmt.c +++ b/src/cc65/asmstmt.c @@ -447,6 +447,3 @@ void AsmStatement (void) /* Closing paren needed */ ConsumeRParen (); } - - - diff --git a/src/cc65/asmstmt.h b/src/cc65/asmstmt.h index e3a6a0433..1d1936089 100644 --- a/src/cc65/asmstmt.h +++ b/src/cc65/asmstmt.h @@ -55,6 +55,3 @@ void AsmStatement (void); /* End of asmstmt.h */ #endif - - - diff --git a/src/cc65/assignment.c b/src/cc65/assignment.c index 81a189f36..7308fb693 100644 --- a/src/cc65/assignment.c +++ b/src/cc65/assignment.c @@ -266,6 +266,3 @@ void Assignment (ExprDesc* Expr) /* Value is still in primary and not an lvalue */ ED_MakeRValExpr (Expr); } - - - diff --git a/src/cc65/assignment.h b/src/cc65/assignment.h index 6273724ca..278c5ef72 100644 --- a/src/cc65/assignment.h +++ b/src/cc65/assignment.h @@ -55,7 +55,5 @@ void Assignment (ExprDesc* lval); /* End of assignment.h */ -#endif - - +#endif diff --git a/src/cc65/casenode.c b/src/cc65/casenode.c index 0e1b37305..fd35a035b 100644 --- a/src/cc65/casenode.c +++ b/src/cc65/casenode.c @@ -182,6 +182,3 @@ unsigned InsertCaseValue (Collection* Nodes, unsigned long Val, unsigned Depth) /* Return the label of the node we found/created */ return CaseLabel; } - - - diff --git a/src/cc65/casenode.h b/src/cc65/casenode.h index aa1de2efa..1b5ff3834 100644 --- a/src/cc65/casenode.h +++ b/src/cc65/casenode.h @@ -128,7 +128,5 @@ unsigned InsertCaseValue (Collection* Nodes, unsigned long Val, unsigned Depth); /* End of casenode.h */ -#endif - - +#endif diff --git a/src/cc65/codeent.c b/src/cc65/codeent.c index 21eef8fe5..e1ab965bc 100644 --- a/src/cc65/codeent.c +++ b/src/cc65/codeent.c @@ -1490,9 +1490,3 @@ void CE_Output (const CodeEntry* E) /* Terminate the line */ WriteOutput ("\n"); } - - - - - - diff --git a/src/cc65/codeent.h b/src/cc65/codeent.h index 72ce626bb..b2509863b 100644 --- a/src/cc65/codeent.h +++ b/src/cc65/codeent.h @@ -238,8 +238,5 @@ void CE_Output (const CodeEntry* E); /* End of codeent.h */ -#endif - - - +#endif diff --git a/src/cc65/codegen.c b/src/cc65/codegen.c index 2d41c4a95..7ee2a972e 100644 --- a/src/cc65/codegen.c +++ b/src/cc65/codegen.c @@ -4362,6 +4362,3 @@ void g_asmcode (struct StrBuf* B) { AddCodeLine ("%.*s", (int) SB_GetLen (B), SB_GetConstBuf (B)); } - - - diff --git a/src/cc65/codegen.h b/src/cc65/codegen.h index a2f91518d..256d1ff98 100644 --- a/src/cc65/codegen.h +++ b/src/cc65/codegen.h @@ -486,6 +486,5 @@ void g_asmcode (struct StrBuf* B); /* End of codegen.h */ -#endif - +#endif diff --git a/src/cc65/codeinfo.c b/src/cc65/codeinfo.c index 5f549c4a6..161b44229 100644 --- a/src/cc65/codeinfo.c +++ b/src/cc65/codeinfo.c @@ -828,6 +828,3 @@ cmp_t FindTosCmpCond (const char* Name) return CMP_INV; } } - - - diff --git a/src/cc65/codeinfo.h b/src/cc65/codeinfo.h index 68a08b5c8..59fc8e05d 100644 --- a/src/cc65/codeinfo.h +++ b/src/cc65/codeinfo.h @@ -177,8 +177,5 @@ cmp_t FindTosCmpCond (const char* Name); /* End of codeinfo.h */ -#endif - - - +#endif diff --git a/src/cc65/codelab.c b/src/cc65/codelab.c index 88de84dc1..f528f666d 100644 --- a/src/cc65/codelab.c +++ b/src/cc65/codelab.c @@ -132,7 +132,3 @@ void CL_Output (const CodeLabel* L) WriteOutput ("\n"); } } - - - - diff --git a/src/cc65/codelab.h b/src/cc65/codelab.h index d38a30e82..480d3a15b 100644 --- a/src/cc65/codelab.h +++ b/src/cc65/codelab.h @@ -117,7 +117,5 @@ void CL_Output (const CodeLabel* L); /* End of codelab.h */ -#endif - - +#endif diff --git a/src/cc65/codeopt.c b/src/cc65/codeopt.c index a16364be4..566fdf954 100644 --- a/src/cc65/codeopt.c +++ b/src/cc65/codeopt.c @@ -1432,6 +1432,3 @@ void RunOpt (CodeSeg* S) WriteOptStats (StatFileName); } } - - - diff --git a/src/cc65/codeopt.h b/src/cc65/codeopt.h index 7ce2fa844..e0bc83731 100644 --- a/src/cc65/codeopt.h +++ b/src/cc65/codeopt.h @@ -64,7 +64,5 @@ void RunOpt (CodeSeg* S); /* End of codeopt.h */ -#endif - - +#endif diff --git a/src/cc65/codeseg.c b/src/cc65/codeseg.c index c28f32651..50d893847 100644 --- a/src/cc65/codeseg.c +++ b/src/cc65/codeseg.c @@ -1680,6 +1680,3 @@ void CS_GenRegInfo (CodeSeg* S) } while (!Done); } - - - diff --git a/src/cc65/codeseg.h b/src/cc65/codeseg.h index 125ad31c0..da6b6a82e 100644 --- a/src/cc65/codeseg.h +++ b/src/cc65/codeseg.h @@ -297,7 +297,5 @@ void CS_GenRegInfo (CodeSeg* S); /* End of codeseg.h */ -#endif - - +#endif diff --git a/src/cc65/compile.c b/src/cc65/compile.c index 17e9471b8..c84082f4b 100644 --- a/src/cc65/compile.c +++ b/src/cc65/compile.c @@ -428,6 +428,3 @@ void FinishCompile (void) /* Leave the main lexical level */ LeaveGlobalLevel (); } - - - diff --git a/src/cc65/compile.h b/src/cc65/compile.h index 74e294efe..2d15c8200 100644 --- a/src/cc65/compile.h +++ b/src/cc65/compile.h @@ -55,6 +55,3 @@ void FinishCompile (void); /* End of compile.h */ #endif - - - diff --git a/src/cc65/coptadd.c b/src/cc65/coptadd.c index fe050cef6..f0acdc4c7 100644 --- a/src/cc65/coptadd.c +++ b/src/cc65/coptadd.c @@ -553,6 +553,3 @@ unsigned OptAdd6 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptadd.h b/src/cc65/coptadd.h index f89ad016e..d61fd023c 100644 --- a/src/cc65/coptadd.h +++ b/src/cc65/coptadd.h @@ -153,6 +153,3 @@ unsigned OptAdd6 (CodeSeg* S); /* End of coptadd.h */ #endif - - - diff --git a/src/cc65/coptc02.c b/src/cc65/coptc02.c index 969f9fd6e..ecbafdcd2 100644 --- a/src/cc65/coptc02.c +++ b/src/cc65/coptc02.c @@ -214,6 +214,3 @@ unsigned Opt65C02Stores (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptc02.h b/src/cc65/coptc02.h index 7d010568b..205669376 100644 --- a/src/cc65/coptc02.h +++ b/src/cc65/coptc02.h @@ -61,7 +61,5 @@ unsigned Opt65C02Stores (CodeSeg* S); /* End of coptc02.h */ -#endif - - +#endif diff --git a/src/cc65/coptcmp.c b/src/cc65/coptcmp.c index e1b80a71c..d365fb682 100644 --- a/src/cc65/coptcmp.c +++ b/src/cc65/coptcmp.c @@ -971,6 +971,3 @@ unsigned OptCmp9 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptcmp.h b/src/cc65/coptcmp.h index d54b8f5c6..dbfd74dd5 100644 --- a/src/cc65/coptcmp.h +++ b/src/cc65/coptcmp.h @@ -171,6 +171,3 @@ unsigned OptCmp9 (CodeSeg* S); /* End of coptcmp.h */ #endif - - - diff --git a/src/cc65/coptind.c b/src/cc65/coptind.c index 14f64590e..46debca37 100644 --- a/src/cc65/coptind.c +++ b/src/cc65/coptind.c @@ -2289,6 +2289,3 @@ unsigned OptIndLoads2 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptind.h b/src/cc65/coptind.h index 83a3f964c..509ae0080 100644 --- a/src/cc65/coptind.h +++ b/src/cc65/coptind.h @@ -174,7 +174,5 @@ unsigned OptIndLoads2 (CodeSeg* S); /* End of coptind.h */ -#endif - - +#endif diff --git a/src/cc65/coptneg.c b/src/cc65/coptneg.c index 2bc0e6b2f..fe1683ceb 100644 --- a/src/cc65/coptneg.c +++ b/src/cc65/coptneg.c @@ -605,6 +605,3 @@ unsigned OptComplAX1 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptneg.h b/src/cc65/coptneg.h index 580faaa67..f4947bd92 100644 --- a/src/cc65/coptneg.h +++ b/src/cc65/coptneg.h @@ -183,6 +183,3 @@ unsigned OptComplAX1 (CodeSeg* S); /* End of coptneg.h */ #endif - - - diff --git a/src/cc65/coptptrload.c b/src/cc65/coptptrload.c index 43f3cc49c..1ab4b3259 100644 --- a/src/cc65/coptptrload.c +++ b/src/cc65/coptptrload.c @@ -1458,6 +1458,3 @@ unsigned OptPtrLoad17 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptptrload.h b/src/cc65/coptptrload.h index 3b8a83c7b..1a4124ccb 100644 --- a/src/cc65/coptptrload.h +++ b/src/cc65/coptptrload.h @@ -359,7 +359,5 @@ unsigned OptPtrLoad17 (CodeSeg* S); /* End of coptptrload.h */ -#endif - - +#endif diff --git a/src/cc65/coptptrstore.c b/src/cc65/coptptrstore.c index 646cec07f..0f89ce9dc 100644 --- a/src/cc65/coptptrstore.c +++ b/src/cc65/coptptrstore.c @@ -757,6 +757,3 @@ unsigned OptPtrStore3 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptptrstore.h b/src/cc65/coptptrstore.h index c6798ea30..b784a889a 100644 --- a/src/cc65/coptptrstore.h +++ b/src/cc65/coptptrstore.h @@ -175,8 +175,5 @@ unsigned OptPtrStore3 (CodeSeg* S); /* End of coptptrstore.h */ -#endif - - - +#endif diff --git a/src/cc65/coptpush.c b/src/cc65/coptpush.c index a1ed700f6..c17dd30df 100644 --- a/src/cc65/coptpush.c +++ b/src/cc65/coptpush.c @@ -166,6 +166,3 @@ unsigned OptPush2 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptpush.h b/src/cc65/coptpush.h index 0cd01dde8..60403486a 100644 --- a/src/cc65/coptpush.h +++ b/src/cc65/coptpush.h @@ -81,6 +81,3 @@ unsigned OptPush2 (CodeSeg* S); /* End of coptpush.h */ #endif - - - diff --git a/src/cc65/coptshift.c b/src/cc65/coptshift.c index 933c3dfa3..825a09577 100644 --- a/src/cc65/coptshift.c +++ b/src/cc65/coptshift.c @@ -742,6 +742,3 @@ NextEntry: /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptshift.h b/src/cc65/coptshift.h index ce63e0e1b..fa9788c19 100644 --- a/src/cc65/coptshift.h +++ b/src/cc65/coptshift.h @@ -120,7 +120,5 @@ unsigned OptShift6 (CodeSeg* S); /* End of coptshift.h */ -#endif - - +#endif diff --git a/src/cc65/coptsize.c b/src/cc65/coptsize.c index 0848bab0e..8dd9cedee 100644 --- a/src/cc65/coptsize.c +++ b/src/cc65/coptsize.c @@ -1034,6 +1034,3 @@ unsigned OptSize2 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptsize.h b/src/cc65/coptsize.h index f1dc07e46..bece6db34 100644 --- a/src/cc65/coptsize.h +++ b/src/cc65/coptsize.h @@ -64,7 +64,5 @@ unsigned OptSize2 (CodeSeg* S); /* End of coptsize.h */ -#endif - - +#endif diff --git a/src/cc65/coptstop.c b/src/cc65/coptstop.c index dfa14d3f8..f0075e8e4 100644 --- a/src/cc65/coptstop.c +++ b/src/cc65/coptstop.c @@ -2079,6 +2079,3 @@ unsigned OptStackOps (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptstop.h b/src/cc65/coptstop.h index 8abc25ece..4edf284c2 100644 --- a/src/cc65/coptstop.h +++ b/src/cc65/coptstop.h @@ -55,7 +55,5 @@ unsigned OptStackOps (CodeSeg* S); /* End of coptstop.h */ -#endif - - +#endif diff --git a/src/cc65/coptstore.c b/src/cc65/coptstore.c index ea304e15d..fca153e96 100644 --- a/src/cc65/coptstore.c +++ b/src/cc65/coptstore.c @@ -435,6 +435,3 @@ unsigned OptStore5 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptstore.h b/src/cc65/coptstore.h index 0785566e0..1f5f0174b 100644 --- a/src/cc65/coptstore.h +++ b/src/cc65/coptstore.h @@ -109,6 +109,3 @@ unsigned OptStore5 (CodeSeg* S); /* End of coptstore.h */ #endif - - - diff --git a/src/cc65/coptsub.c b/src/cc65/coptsub.c index fdb167684..57606eea2 100644 --- a/src/cc65/coptsub.c +++ b/src/cc65/coptsub.c @@ -228,6 +228,3 @@ unsigned OptSub3 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/coptsub.h b/src/cc65/coptsub.h index c8249bdb2..724abaa3c 100644 --- a/src/cc65/coptsub.h +++ b/src/cc65/coptsub.h @@ -88,6 +88,3 @@ unsigned OptSub3 (CodeSeg* S); /* End of coptsub.h */ #endif - - - diff --git a/src/cc65/copttest.c b/src/cc65/copttest.c index 91ebdc7ad..9a8ed0508 100644 --- a/src/cc65/copttest.c +++ b/src/cc65/copttest.c @@ -169,6 +169,3 @@ unsigned OptTest2 (CodeSeg* S) /* Return the number of changes made */ return Changes; } - - - diff --git a/src/cc65/copttest.h b/src/cc65/copttest.h index f6af1da32..aa70dc0fe 100644 --- a/src/cc65/copttest.h +++ b/src/cc65/copttest.h @@ -81,6 +81,3 @@ unsigned OptTest2 (CodeSeg* S); /* End of copttest.h */ #endif - - - diff --git a/src/cc65/dataseg.c b/src/cc65/dataseg.c index c19791e9e..40ec6f793 100644 --- a/src/cc65/dataseg.c +++ b/src/cc65/dataseg.c @@ -130,7 +130,3 @@ void DS_Output (const DataSeg* S) /* Add an additional newline after the segment output */ WriteOutput ("\n"); } - - - - diff --git a/src/cc65/dataseg.h b/src/cc65/dataseg.h index c822120a8..dd99d4727 100644 --- a/src/cc65/dataseg.h +++ b/src/cc65/dataseg.h @@ -88,7 +88,5 @@ void DS_Output (const DataSeg* S); /* End of dataseg.h */ -#endif - - +#endif diff --git a/src/cc65/datatype.c b/src/cc65/datatype.c index 88ec9ead6..6cdaaf84f 100644 --- a/src/cc65/datatype.c +++ b/src/cc65/datatype.c @@ -746,6 +746,3 @@ TypeCode AddrSizeQualifier (unsigned AddrSize) } } - - - diff --git a/src/cc65/datatype.h b/src/cc65/datatype.h index b49694da3..cfd0cb2be 100644 --- a/src/cc65/datatype.h +++ b/src/cc65/datatype.h @@ -691,6 +691,3 @@ INLINE TypeCode DataAddrSizeQualifier (void) /* End of datatype.h */ #endif - - - diff --git a/src/cc65/declare.c b/src/cc65/declare.c index c4debd8aa..558fc5519 100644 --- a/src/cc65/declare.c +++ b/src/cc65/declare.c @@ -2237,6 +2237,3 @@ unsigned ParseInit (Type* T) /* Return the size needed for the initialization */ return Size; } - - - diff --git a/src/cc65/declare.h b/src/cc65/declare.h index 3a21a59d9..ff092d87f 100644 --- a/src/cc65/declare.h +++ b/src/cc65/declare.h @@ -118,6 +118,3 @@ unsigned ParseInit (Type* T); /* End of declare.h */ #endif - - - diff --git a/src/cc65/declattr.c b/src/cc65/declattr.c index ac45db221..7fc7f4fb8 100644 --- a/src/cc65/declattr.c +++ b/src/cc65/declattr.c @@ -247,6 +247,3 @@ void ParseAttribute (Declaration* D) ConsumeRParen (); ConsumeRParen (); } - - - diff --git a/src/cc65/declattr.h b/src/cc65/declattr.h index e3826c77f..63669cee7 100644 --- a/src/cc65/declattr.h +++ b/src/cc65/declattr.h @@ -75,6 +75,3 @@ void ParseAttribute (struct Declaration* D); /* End of declattr.h */ #endif - - - diff --git a/src/cc65/error.c b/src/cc65/error.c index e15cd22ba..56750367a 100644 --- a/src/cc65/error.c +++ b/src/cc65/error.c @@ -321,6 +321,3 @@ void ErrorReport (void) { Print (stdout, 1, "%u errors, %u warnings\n", ErrorCount, WarningCount); } - - - diff --git a/src/cc65/error.h b/src/cc65/error.h index 5811e1b45..f85cdcae0 100644 --- a/src/cc65/error.h +++ b/src/cc65/error.h @@ -117,9 +117,5 @@ void ErrorReport (void); /* End of error.h */ -#endif - - - - +#endif diff --git a/src/cc65/expr.c b/src/cc65/expr.c index 2125eb430..a425c6602 100644 --- a/src/cc65/expr.c +++ b/src/cc65/expr.c @@ -3545,6 +3545,3 @@ void ConstAbsIntExpr (void (*Func) (ExprDesc*), ExprDesc* Expr) ED_MakeConstAbsInt (Expr, 1); } } - - - diff --git a/src/cc65/expr.h b/src/cc65/expr.h index c5d193e6b..193fe39eb 100644 --- a/src/cc65/expr.h +++ b/src/cc65/expr.h @@ -92,7 +92,3 @@ void hie0 (ExprDesc* Expr); /* End of expr.h */ #endif - - - - diff --git a/src/cc65/exprdesc.c b/src/cc65/exprdesc.c index 978aedfc6..a5787d967 100644 --- a/src/cc65/exprdesc.c +++ b/src/cc65/exprdesc.c @@ -373,6 +373,3 @@ Type* ReplaceType (ExprDesc* Expr, const Type* NewType) Expr->Type = TypeDup (NewType); return OldType; } - - - diff --git a/src/cc65/exprdesc.h b/src/cc65/exprdesc.h index f2d5ce322..021f9fcc2 100644 --- a/src/cc65/exprdesc.h +++ b/src/cc65/exprdesc.h @@ -379,7 +379,5 @@ Type* ReplaceType (ExprDesc* Expr, const Type* NewType); /* End of exprdesc.h */ -#endif - - +#endif diff --git a/src/cc65/funcdesc.c b/src/cc65/funcdesc.c index 874dfb101..b9561a97c 100644 --- a/src/cc65/funcdesc.c +++ b/src/cc65/funcdesc.c @@ -73,6 +73,3 @@ void FreeFuncDesc (FuncDesc* F) /* Free the structure */ xfree (F); } - - - diff --git a/src/cc65/funcdesc.h b/src/cc65/funcdesc.h index 7232bca1d..b79c6a055 100644 --- a/src/cc65/funcdesc.h +++ b/src/cc65/funcdesc.h @@ -86,7 +86,5 @@ void FreeFuncDesc (FuncDesc* D); /* End of funcdesc.h */ -#endif - - +#endif diff --git a/src/cc65/function.c b/src/cc65/function.c index ccf2adf49..97c421951 100644 --- a/src/cc65/function.c +++ b/src/cc65/function.c @@ -601,6 +601,3 @@ void NewFunc (SymEntry* Func) FreeFunction (CurrentFunc); CurrentFunc = 0; } - - - diff --git a/src/cc65/function.h b/src/cc65/function.h index b70389372..c5174c78b 100644 --- a/src/cc65/function.h +++ b/src/cc65/function.h @@ -124,7 +124,5 @@ void NewFunc (struct SymEntry* Func); /* End of function.h */ -#endif - - +#endif diff --git a/src/cc65/global.c b/src/cc65/global.c index a6d752b27..e2800a65e 100644 --- a/src/cc65/global.c +++ b/src/cc65/global.c @@ -67,6 +67,3 @@ IntStack DataAlignment = INTSTACK(1); /* Alignment for data */ StrBuf DepName = STATIC_STRBUF_INITIALIZER; /* Name of dependencies file */ StrBuf FullDepName = STATIC_STRBUF_INITIALIZER; /* Name of full dependencies file */ StrBuf DepTarget = STATIC_STRBUF_INITIALIZER; /* Name of dependency target */ - - - diff --git a/src/cc65/global.h b/src/cc65/global.h index b9c15a26e..2abd78601 100644 --- a/src/cc65/global.h +++ b/src/cc65/global.h @@ -81,7 +81,3 @@ extern StrBuf DepTarget; /* Name of dependency target */ /* End of global.h */ #endif - - - - diff --git a/src/cc65/goto.c b/src/cc65/goto.c index 6f12c145b..6e282c636 100644 --- a/src/cc65/goto.c +++ b/src/cc65/goto.c @@ -86,6 +86,3 @@ void DoLabel (void) NextToken (); NextToken (); } - - - diff --git a/src/cc65/goto.h b/src/cc65/goto.h index a887b0eaa..3ca8223e2 100644 --- a/src/cc65/goto.h +++ b/src/cc65/goto.h @@ -53,7 +53,5 @@ void DoLabel (void); /* End of goto.h */ -#endif - - +#endif diff --git a/src/cc65/hexval.c b/src/cc65/hexval.c index aaedf68ce..9830e1863 100644 --- a/src/cc65/hexval.c +++ b/src/cc65/hexval.c @@ -62,6 +62,3 @@ unsigned HexVal (int C) return toupper (C) - 'A' + 10; } } - - - diff --git a/src/cc65/hexval.h b/src/cc65/hexval.h index 770ed5ce5..b0e65be46 100644 --- a/src/cc65/hexval.h +++ b/src/cc65/hexval.h @@ -52,9 +52,5 @@ unsigned HexVal (int C); /* End of hexval.h */ -#endif - - - - +#endif diff --git a/src/cc65/ident.c b/src/cc65/ident.c index fac69bd0a..7748095c7 100644 --- a/src/cc65/ident.c +++ b/src/cc65/ident.c @@ -52,6 +52,3 @@ int IsIdent (char c) { return (IsAlpha (c) || c == '_'); } - - - diff --git a/src/cc65/ident.h b/src/cc65/ident.h index d470e198b..36d5ae122 100644 --- a/src/cc65/ident.h +++ b/src/cc65/ident.h @@ -65,7 +65,5 @@ int IsIdent (char c); /* End of ident.h */ -#endif - - +#endif diff --git a/src/cc65/incpath.c b/src/cc65/incpath.c index c74e167de..ab164d5ca 100644 --- a/src/cc65/incpath.c +++ b/src/cc65/incpath.c @@ -83,6 +83,3 @@ void FinishIncludePaths (void) /* Add paths relative to the parent directory of the Windows binary. */ AddSubSearchPathFromWinBin (SysIncSearchPath, "include"); } - - - diff --git a/src/cc65/incpath.h b/src/cc65/incpath.h index 4df8fca44..05824ac5e 100644 --- a/src/cc65/incpath.h +++ b/src/cc65/incpath.h @@ -69,7 +69,5 @@ void FinishIncludePaths (void); /* End of incpath.h */ -#endif - - +#endif diff --git a/src/cc65/input.c b/src/cc65/input.c index a98c72e4f..f6554c483 100644 --- a/src/cc65/input.c +++ b/src/cc65/input.c @@ -661,5 +661,3 @@ void CreateDependencies (void) IT_MAIN | IT_SYSINC | IT_USRINC); } } - - diff --git a/src/cc65/input.h b/src/cc65/input.h index 4d2fd7fb1..e6fcc618c 100644 --- a/src/cc65/input.h +++ b/src/cc65/input.h @@ -55,9 +55,9 @@ * choosen so that it is possible to combine them to bitsets */ typedef enum { - IT_MAIN = 0x01, /* Main input file */ - IT_SYSINC = 0x02, /* System include file (using <>) */ - IT_USRINC = 0x04, /* User include file (using "") */ + IT_MAIN = 0x01, /* Main input file */ + IT_SYSINC = 0x02, /* System include file (using <>) */ + IT_USRINC = 0x04, /* User include file (using "") */ } InputType; /* Forward for an IFile structure */ @@ -116,7 +116,5 @@ void CreateDependencies (void); /* End of input.h */ -#endif - - +#endif diff --git a/src/cc65/lineinfo.c b/src/cc65/lineinfo.c index 342fce969..97aee949b 100644 --- a/src/cc65/lineinfo.c +++ b/src/cc65/lineinfo.c @@ -192,6 +192,3 @@ unsigned GetInputLine (const LineInfo* LI) PRECONDITION (LI != 0); return LI->LineNum; } - - - diff --git a/src/cc65/lineinfo.h b/src/cc65/lineinfo.h index 3ecd0ce84..25c4e7556 100644 --- a/src/cc65/lineinfo.h +++ b/src/cc65/lineinfo.h @@ -104,8 +104,5 @@ unsigned GetInputLine (const LineInfo* LI); /* End of lineinfo.h */ -#endif - - - +#endif diff --git a/src/cc65/litpool.c b/src/cc65/litpool.c index 013c6ad4a..171d8b5dd 100644 --- a/src/cc65/litpool.c +++ b/src/cc65/litpool.c @@ -498,6 +498,3 @@ Literal* AddLiteralStr (const StrBuf* S) { return AddLiteralBuf (SB_GetConstBuf (S), SB_GetLen (S)); } - - - diff --git a/src/cc65/litpool.h b/src/cc65/litpool.h index 7a771d5eb..9412beac8 100644 --- a/src/cc65/litpool.h +++ b/src/cc65/litpool.h @@ -130,8 +130,5 @@ Literal* AddLiteralStr (const StrBuf* S); /* End of litpool.h */ -#endif - - - +#endif diff --git a/src/cc65/loadexpr.c b/src/cc65/loadexpr.c index d3c190b13..dfc898108 100644 --- a/src/cc65/loadexpr.c +++ b/src/cc65/loadexpr.c @@ -197,6 +197,3 @@ void LoadExpr (unsigned Flags, struct ExprDesc* Expr) } } - - - diff --git a/src/cc65/loadexpr.h b/src/cc65/loadexpr.h index acd570f1f..3f13311f1 100644 --- a/src/cc65/loadexpr.h +++ b/src/cc65/loadexpr.h @@ -60,7 +60,5 @@ void LoadExpr (unsigned Flags, struct ExprDesc* Expr); /* End of loadexpr.h */ -#endif - - +#endif diff --git a/src/cc65/locals.c b/src/cc65/locals.c index bdc0df906..38f803607 100644 --- a/src/cc65/locals.c +++ b/src/cc65/locals.c @@ -545,6 +545,3 @@ void DeclareLocals (void) g_cstackcheck (); } } - - - diff --git a/src/cc65/locals.h b/src/cc65/locals.h index d47cb6725..e50c6c992 100644 --- a/src/cc65/locals.h +++ b/src/cc65/locals.h @@ -62,7 +62,5 @@ void RestoreRegVars (int HaveResult); /* End of locals.h */ -#endif - - +#endif diff --git a/src/cc65/loop.c b/src/cc65/loop.c index 4a3cdd882..c15c37a79 100644 --- a/src/cc65/loop.c +++ b/src/cc65/loop.c @@ -98,6 +98,3 @@ void DelLoop (void) LoopStack = LoopStack->Next; xfree (L); } - - - diff --git a/src/cc65/loop.h b/src/cc65/loop.h index f24a3ef9f..fa2859f61 100644 --- a/src/cc65/loop.h +++ b/src/cc65/loop.h @@ -74,6 +74,3 @@ void DelLoop (void); /* End of loop.h */ #endif - - - diff --git a/src/cc65/macrotab.c b/src/cc65/macrotab.c index acb532ac4..44e209866 100644 --- a/src/cc65/macrotab.c +++ b/src/cc65/macrotab.c @@ -302,6 +302,3 @@ void PrintMacroStats (FILE* F) } } } - - - diff --git a/src/cc65/macrotab.h b/src/cc65/macrotab.h index c20ab81c4..746fc6f89 100644 --- a/src/cc65/macrotab.h +++ b/src/cc65/macrotab.h @@ -127,7 +127,5 @@ void PrintMacroStats (FILE* F); /* End of macrotab.h */ -#endif - - +#endif diff --git a/src/cc65/main.c b/src/cc65/main.c index a27822ed8..8fca514cf 100644 --- a/src/cc65/main.c +++ b/src/cc65/main.c @@ -1012,6 +1012,3 @@ int main (int argc, char* argv[]) /* Return an apropriate exit code */ return (ErrorCount > 0)? EXIT_FAILURE : EXIT_SUCCESS; } - - - diff --git a/src/cc65/opcodes.c b/src/cc65/opcodes.c index d8a7fcb1f..c7661642f 100644 --- a/src/cc65/opcodes.c +++ b/src/cc65/opcodes.c @@ -812,7 +812,3 @@ bc_t GetInverseCond (bc_t BC) return 0; } } - - - - diff --git a/src/cc65/opcodes.h b/src/cc65/opcodes.h index 7dc5262c8..4635c4703 100644 --- a/src/cc65/opcodes.h +++ b/src/cc65/opcodes.h @@ -258,7 +258,5 @@ bc_t GetInverseCond (bc_t BC); /* End of opcodes.h */ -#endif - - +#endif diff --git a/src/cc65/output.c b/src/cc65/output.c index 92a66108e..fdde36467 100644 --- a/src/cc65/output.c +++ b/src/cc65/output.c @@ -164,6 +164,3 @@ int WriteOutput (const char* Format, ...) /* Return the number of chars written */ return CharCount; } - - - diff --git a/src/cc65/output.h b/src/cc65/output.h index bcabba7a9..59a9defb3 100644 --- a/src/cc65/output.h +++ b/src/cc65/output.h @@ -91,7 +91,5 @@ int WriteOutput (const char* Format, ...) attribute ((format (printf, 1, 2))); /* End of output.h */ -#endif - - +#endif diff --git a/src/cc65/pragma.c b/src/cc65/pragma.c index 980d46a20..01e4ea3cf 100644 --- a/src/cc65/pragma.c +++ b/src/cc65/pragma.c @@ -851,6 +851,3 @@ void DoPragma (void) /* Closing paren needed */ ConsumeRParen (); } - - - diff --git a/src/cc65/pragma.h b/src/cc65/pragma.h index d75273fa6..f12dbaa83 100644 --- a/src/cc65/pragma.h +++ b/src/cc65/pragma.h @@ -50,9 +50,5 @@ void DoPragma (void); /* End of pragma.h */ -#endif - - - - +#endif diff --git a/src/cc65/preproc.c b/src/cc65/preproc.c index 199388deb..1885bc02e 100644 --- a/src/cc65/preproc.c +++ b/src/cc65/preproc.c @@ -1402,4 +1402,3 @@ Done: (int) SB_GetLen (Line), SB_GetConstBuf (Line)); } } - diff --git a/src/cc65/preproc.h b/src/cc65/preproc.h index 3b2722567..8d7b3c374 100644 --- a/src/cc65/preproc.h +++ b/src/cc65/preproc.h @@ -61,7 +61,5 @@ void Preprocess (void); /* End of preproc.h */ -#endif - - +#endif diff --git a/src/cc65/reginfo.c b/src/cc65/reginfo.c index 65c073420..0bc8b5d64 100644 --- a/src/cc65/reginfo.c +++ b/src/cc65/reginfo.c @@ -145,6 +145,3 @@ void DumpRegInfo (const char* Desc, const RegInfo* RI) fprintf (stdout, "Out: "); RC_Dump (stdout, &RI->Out); } - - - diff --git a/src/cc65/reginfo.h b/src/cc65/reginfo.h index 31281675c..31dc536c5 100644 --- a/src/cc65/reginfo.h +++ b/src/cc65/reginfo.h @@ -127,8 +127,5 @@ void DumpRegInfo (const char* Desc, const RegInfo* RI); /* End of reginfo.h */ -#endif - - - +#endif diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index 9d6553ae0..6bc6b8985 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -1142,6 +1142,3 @@ int ConsumeRCurly (void) { return Consume (TOK_RCURLY, "`}' expected"); } - - - diff --git a/src/cc65/scanner.h b/src/cc65/scanner.h index 77f2028b9..eb835fd84 100644 --- a/src/cc65/scanner.h +++ b/src/cc65/scanner.h @@ -304,10 +304,5 @@ int ConsumeRCurly (void); /* End of scanner.h */ -#endif - - - - - +#endif diff --git a/src/cc65/scanstrbuf.c b/src/cc65/scanstrbuf.c index abddf06db..2749c1073 100644 --- a/src/cc65/scanstrbuf.c +++ b/src/cc65/scanstrbuf.c @@ -346,6 +346,3 @@ int SB_GetNumber (StrBuf* B, long* Val) *Val *= Sign; return 1; } - - - diff --git a/src/cc65/scanstrbuf.h b/src/cc65/scanstrbuf.h index a84bbd276..10f05c6e8 100644 --- a/src/cc65/scanstrbuf.h +++ b/src/cc65/scanstrbuf.h @@ -77,9 +77,5 @@ int SB_GetNumber (StrBuf* B, long* Val); /* End of scanstrbuf.h */ -#endif - - - - +#endif diff --git a/src/cc65/segments.c b/src/cc65/segments.c index cdbd05e39..252399f0b 100644 --- a/src/cc65/segments.c +++ b/src/cc65/segments.c @@ -300,6 +300,3 @@ void OutputSegments (const Segments* S) /* Output the code segment epiloque */ CS_OutputEpilogue (S->Code); } - - - diff --git a/src/cc65/segments.h b/src/cc65/segments.h index cf6c72fba..f55be688b 100644 --- a/src/cc65/segments.h +++ b/src/cc65/segments.h @@ -156,7 +156,5 @@ void OutputSegments (const Segments* S); /* End of segments.h */ -#endif - - +#endif diff --git a/src/cc65/shiftexpr.c b/src/cc65/shiftexpr.c index 44a42f304..a5e67fc66 100644 --- a/src/cc65/shiftexpr.c +++ b/src/cc65/shiftexpr.c @@ -235,6 +235,3 @@ Next: Expr->Type = ResultType; } } - - - diff --git a/src/cc65/shiftexpr.h b/src/cc65/shiftexpr.h index b4c50d44b..281710ff8 100644 --- a/src/cc65/shiftexpr.h +++ b/src/cc65/shiftexpr.h @@ -68,7 +68,3 @@ void ShiftExpr (struct ExprDesc* Expr); /* End of shiftexpr.h */ #endif - - - - diff --git a/src/cc65/stackptr.c b/src/cc65/stackptr.c index 26669fa57..1f10e8500 100644 --- a/src/cc65/stackptr.c +++ b/src/cc65/stackptr.c @@ -68,7 +68,3 @@ void SP_Pop (const Type* T) { StackPtr += SizeOf (T); } - - - - diff --git a/src/cc65/stackptr.h b/src/cc65/stackptr.h index 4232c0a46..4f90f8dcc 100644 --- a/src/cc65/stackptr.h +++ b/src/cc65/stackptr.h @@ -71,6 +71,3 @@ void SP_Pop (const Type* T); /* End of stackptr.h */ #endif - - - diff --git a/src/cc65/standard.c b/src/cc65/standard.c index e6a842d2c..91f39faaa 100644 --- a/src/cc65/standard.c +++ b/src/cc65/standard.c @@ -79,6 +79,3 @@ standard_t FindStandard (const char* Name) /* Not found */ return STD_UNKNOWN; } - - - diff --git a/src/cc65/standard.h b/src/cc65/standard.h index bebc154ee..587066cb4 100644 --- a/src/cc65/standard.h +++ b/src/cc65/standard.h @@ -82,7 +82,3 @@ standard_t FindStandard (const char* Name); /* End of standard.h */ #endif - - - - diff --git a/src/cc65/stdfunc.c b/src/cc65/stdfunc.c index 1c3c89483..1730ee08a 100644 --- a/src/cc65/stdfunc.c +++ b/src/cc65/stdfunc.c @@ -1326,6 +1326,3 @@ void HandleStdFunc (int Index, FuncDesc* F, ExprDesc* lval) /* Call the handler function */ D->Handler (F, lval); } - - - diff --git a/src/cc65/stdfunc.h b/src/cc65/stdfunc.h index 9716d2b3e..baac616c3 100644 --- a/src/cc65/stdfunc.h +++ b/src/cc65/stdfunc.h @@ -63,6 +63,3 @@ void HandleStdFunc (int Index, struct FuncDesc* F, ExprDesc* lval); /* End of stdfunc.h */ #endif - - - diff --git a/src/cc65/stdnames.c b/src/cc65/stdnames.c index aa58e3be4..687b53894 100644 --- a/src/cc65/stdnames.c +++ b/src/cc65/stdnames.c @@ -50,6 +50,3 @@ const char Func_memset[] = "memset"; /* Asm name of "memset" */ const char Func_strcmp[] = "strcmp"; /* Asm name of "strcmp" */ const char Func_strcpy[] = "strcpy"; /* Asm name of "strcpy" */ const char Func_strlen[] = "strlen"; /* Asm name of "strlen" */ - - - diff --git a/src/cc65/stdnames.h b/src/cc65/stdnames.h index d60de04a2..dcb323924 100644 --- a/src/cc65/stdnames.h +++ b/src/cc65/stdnames.h @@ -56,6 +56,3 @@ extern const char Func_strlen[]; /* Asm name of "strlen" */ /* End of stdnames.h */ #endif - - - diff --git a/src/cc65/stmt.c b/src/cc65/stmt.c index 34a314863..f59eca2e4 100644 --- a/src/cc65/stmt.c +++ b/src/cc65/stmt.c @@ -667,7 +667,3 @@ int Statement (int* PendingToken) } return 0; } - - - - diff --git a/src/cc65/stmt.h b/src/cc65/stmt.h index 4a9a72e42..31a7c5f19 100644 --- a/src/cc65/stmt.h +++ b/src/cc65/stmt.h @@ -59,6 +59,3 @@ int Statement (int* PendingToken); /* End of stmt.h */ #endif - - - diff --git a/src/cc65/swstmt.c b/src/cc65/swstmt.c index 7e48b58d2..d351738f5 100644 --- a/src/cc65/swstmt.c +++ b/src/cc65/swstmt.c @@ -315,6 +315,3 @@ void DefaultLabel (void) /* Skip the colon */ ConsumeColon (); } - - - diff --git a/src/cc65/swstmt.h b/src/cc65/swstmt.h index 1523217f1..b4facf2cd 100644 --- a/src/cc65/swstmt.h +++ b/src/cc65/swstmt.h @@ -56,7 +56,5 @@ void DefaultLabel (void); /* End of swstmt.h */ -#endif - - +#endif diff --git a/src/cc65/symentry.c b/src/cc65/symentry.c index 41e14e673..aca0ac63a 100644 --- a/src/cc65/symentry.c +++ b/src/cc65/symentry.c @@ -262,6 +262,3 @@ int HasAnonName (const SymEntry* Entry) { return IsAnonName (Entry->Name); } - - - diff --git a/src/cc65/symentry.h b/src/cc65/symentry.h index 14d786995..e4a2c87e2 100644 --- a/src/cc65/symentry.h +++ b/src/cc65/symentry.h @@ -272,7 +272,5 @@ int HasAnonName (const SymEntry* Entry); /* End of symentry.h */ -#endif - - +#endif diff --git a/src/cc65/symtab.c b/src/cc65/symtab.c index 4a44c770d..f0b5fefe2 100644 --- a/src/cc65/symtab.c +++ b/src/cc65/symtab.c @@ -984,6 +984,3 @@ void EmitDebugInfo (void) } } } - - - diff --git a/src/cc65/symtab.h b/src/cc65/symtab.h index 154dce55a..39782d6ab 100644 --- a/src/cc65/symtab.h +++ b/src/cc65/symtab.h @@ -196,6 +196,3 @@ void EmitDebugInfo (void); /* End of symtab.h */ #endif - - - diff --git a/src/cc65/testexpr.c b/src/cc65/testexpr.c index f95c94dd8..537ca784d 100644 --- a/src/cc65/testexpr.c +++ b/src/cc65/testexpr.c @@ -123,7 +123,3 @@ unsigned TestInParens (unsigned Label, int Invert) /* Return the result of the expression */ return Result; } - - - - diff --git a/src/cc65/testexpr.h b/src/cc65/testexpr.h index bfc033185..67613482f 100644 --- a/src/cc65/testexpr.h +++ b/src/cc65/testexpr.h @@ -72,8 +72,5 @@ unsigned TestInParens (unsigned Label, int Invert); /* End of testexpr.h */ -#endif - - - +#endif diff --git a/src/cc65/textseg.c b/src/cc65/textseg.c index 2275261e0..cbb393b50 100644 --- a/src/cc65/textseg.c +++ b/src/cc65/textseg.c @@ -116,6 +116,3 @@ void TS_Output (const TextSeg* S) /* Add an additional newline after the segment output */ WriteOutput ("\n"); } - - - diff --git a/src/cc65/textseg.h b/src/cc65/textseg.h index 1c3aba53b..87b02ac87 100644 --- a/src/cc65/textseg.h +++ b/src/cc65/textseg.h @@ -90,7 +90,5 @@ void TS_Output (const TextSeg* S); /* End of textseg.h */ -#endif - - +#endif diff --git a/src/cc65/typecmp.c b/src/cc65/typecmp.c index 139b3b3ff..310abe9f6 100644 --- a/src/cc65/typecmp.c +++ b/src/cc65/typecmp.c @@ -420,7 +420,3 @@ typecmp_t TypeCmp (const Type* lhs, const Type* rhs) /* Return the result */ return Result; } - - - - diff --git a/src/cc65/typecmp.h b/src/cc65/typecmp.h index 652585738..5f95e42a1 100644 --- a/src/cc65/typecmp.h +++ b/src/cc65/typecmp.h @@ -75,7 +75,3 @@ typecmp_t TypeCmp (const Type* lhs, const Type* rhs); /* End of typecmp.h */ #endif - - - - diff --git a/src/cc65/typeconv.c b/src/cc65/typeconv.c index 6d50aa5c6..9a6f3ab23 100644 --- a/src/cc65/typeconv.c +++ b/src/cc65/typeconv.c @@ -295,8 +295,3 @@ void TypeCast (ExprDesc* Expr) /* Convert the value. */ DoConversion (Expr, NewType); } - - - - - diff --git a/src/cc65/typeconv.h b/src/cc65/typeconv.h index 2407862e1..dd819e638 100644 --- a/src/cc65/typeconv.h +++ b/src/cc65/typeconv.h @@ -61,7 +61,5 @@ void TypeCast (ExprDesc* Expr); /* End of typeconv.h */ -#endif - - +#endif diff --git a/src/cc65/util.c b/src/cc65/util.c index db26dd7d2..67cd9c7ba 100644 --- a/src/cc65/util.c +++ b/src/cc65/util.c @@ -59,6 +59,3 @@ int PowerOf2 (unsigned long Val) } return -1; } - - - diff --git a/src/cc65/util.h b/src/cc65/util.h index 9fc717339..213ebf28a 100644 --- a/src/cc65/util.h +++ b/src/cc65/util.h @@ -54,6 +54,3 @@ int PowerOf2 (unsigned long Val); /* End of util.h */ #endif - - - diff --git a/src/cl65/error.c b/src/cl65/error.c index c68b7fe64..ee2adcfcc 100644 --- a/src/cl65/error.c +++ b/src/cl65/error.c @@ -91,5 +91,3 @@ void Internal (const char* Format, ...) exit (EXIT_FAILURE); } - - diff --git a/src/cl65/error.h b/src/cl65/error.h index 38999faec..b1ff30660 100644 --- a/src/cl65/error.h +++ b/src/cl65/error.h @@ -58,6 +58,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/cl65/global.c b/src/cl65/global.c index 318020415..f522224ac 100644 --- a/src/cl65/global.c +++ b/src/cl65/global.c @@ -44,6 +44,3 @@ unsigned char Debug = 0; /* Debug mode enabled? */ - - - diff --git a/src/cl65/global.h b/src/cl65/global.h index fd85dc2d5..2d2d96921 100644 --- a/src/cl65/global.h +++ b/src/cl65/global.h @@ -51,6 +51,3 @@ extern unsigned char Debug; /* Debug mode enabled? */ /* End of global.h */ #endif - - - diff --git a/src/cl65/main.c b/src/cl65/main.c index d81a1bcc9..0c460eec9 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -1526,6 +1526,3 @@ int main (int argc, char* argv []) /* Return an apropriate exit code */ return EXIT_SUCCESS; } - - - diff --git a/src/cl65/spawn-amiga.inc b/src/cl65/spawn-amiga.inc index b244a95ac..f8a230950 100644 --- a/src/cl65/spawn-amiga.inc +++ b/src/cl65/spawn-amiga.inc @@ -82,6 +82,3 @@ int spawnvp (int Mode attribute ((unused)), /* Return the result */ return Status; } - - - diff --git a/src/cl65/spawn-unix.inc b/src/cl65/spawn-unix.inc index 1784123ac..558f2428d 100644 --- a/src/cl65/spawn-unix.inc +++ b/src/cl65/spawn-unix.inc @@ -103,6 +103,3 @@ int spawnvp (int Mode attribute ((unused)), const char* File, const char* const */ return WEXITSTATUS (Status); } - - - diff --git a/src/co65/convert.c b/src/co65/convert.c index 6ae051091..b5068d5c0 100644 --- a/src/co65/convert.c +++ b/src/co65/convert.c @@ -502,6 +502,3 @@ void Convert (const O65Data* D) fprintf (F, ".end\n"); fclose (F); } - - - diff --git a/src/co65/convert.h b/src/co65/convert.h index f000f55c4..22ef25424 100644 --- a/src/co65/convert.h +++ b/src/co65/convert.h @@ -63,6 +63,3 @@ void Convert (const struct O65Data* D); /* End of convert.h */ #endif - - - diff --git a/src/co65/error.c b/src/co65/error.c index 5ee75661b..1c1625207 100644 --- a/src/co65/error.c +++ b/src/co65/error.c @@ -89,6 +89,3 @@ void Internal (const char* Format, ...) va_end (ap); exit (EXIT_FAILURE); } - - - diff --git a/src/co65/error.h b/src/co65/error.h index 1b3060a84..4fb9d370d 100644 --- a/src/co65/error.h +++ b/src/co65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/co65/fileio.c b/src/co65/fileio.c index 4846add3f..9241797c6 100644 --- a/src/co65/fileio.c +++ b/src/co65/fileio.c @@ -103,6 +103,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size) } return Data; } - - - diff --git a/src/co65/fileio.h b/src/co65/fileio.h index ccae88020..c5e9a003c 100644 --- a/src/co65/fileio.h +++ b/src/co65/fileio.h @@ -71,6 +71,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size); /* End of fileio.h */ #endif - - - diff --git a/src/co65/global.c b/src/co65/global.c index 38748cc0e..bc9b0099b 100644 --- a/src/co65/global.c +++ b/src/co65/global.c @@ -69,6 +69,3 @@ const char* ZeropageLabel = 0; /* Label for the zeropage segmen /* Flags */ unsigned char DebugInfo = 0; /* Enable debug info */ unsigned char NoOutput = 0; /* Suppress the actual conversion */ - - - diff --git a/src/co65/global.h b/src/co65/global.h index 247b9de45..29c17ca29 100644 --- a/src/co65/global.h +++ b/src/co65/global.h @@ -72,6 +72,3 @@ extern unsigned char NoOutput; /* Suppress the actual conversion */ /* End of global.h */ #endif - - - diff --git a/src/co65/main.c b/src/co65/main.c index 79aca87fa..5e0ee2ed7 100644 --- a/src/co65/main.c +++ b/src/co65/main.c @@ -412,6 +412,3 @@ int main (int argc, char* argv []) /* Return an apropriate exit code */ return EXIT_SUCCESS; } - - - diff --git a/src/co65/model.c b/src/co65/model.c index 365eed49d..36ec574d6 100644 --- a/src/co65/model.c +++ b/src/co65/model.c @@ -91,6 +91,3 @@ O65Model FindModel (const char* ModelName) } return O65_MODEL_INVALID; } - - - diff --git a/src/co65/model.h b/src/co65/model.h index 1f44b89b4..18ad136f1 100644 --- a/src/co65/model.h +++ b/src/co65/model.h @@ -81,6 +81,3 @@ O65Model FindModel (const char* ModelName); /* End of model.h */ #endif - - - diff --git a/src/co65/o65.c b/src/co65/o65.c index 187e4fc38..693dff447 100644 --- a/src/co65/o65.c +++ b/src/co65/o65.c @@ -434,6 +434,3 @@ const char* GetO65OptionText (const O65Option* O) Buf[I] = '\0'; return Buf; } - - - diff --git a/src/co65/o65.h b/src/co65/o65.h index 6fb8433c5..d2361d348 100644 --- a/src/co65/o65.h +++ b/src/co65/o65.h @@ -230,8 +230,5 @@ const char* GetO65OptionText (const O65Option* O); /* End of o65.h */ -#endif - - - +#endif diff --git a/src/common/abend.c b/src/common/abend.c index 0213bdde7..f3a0f4195 100644 --- a/src/common/abend.c +++ b/src/common/abend.c @@ -69,6 +69,3 @@ void AbEnd (const char* Format, ...) /* Terminate the program */ exit (EXIT_FAILURE); } - - - diff --git a/src/common/abend.h b/src/common/abend.h index f32a3381d..e80db03a7 100644 --- a/src/common/abend.h +++ b/src/common/abend.h @@ -58,6 +58,3 @@ void AbEnd (const char* Format, ...) attribute ((format (printf, 1, 2), noreturn /* End of abend.h */ #endif - - - diff --git a/src/common/addrsize.c b/src/common/addrsize.c index ad54618e6..faa150b1d 100644 --- a/src/common/addrsize.c +++ b/src/common/addrsize.c @@ -92,6 +92,3 @@ unsigned char AddrSizeFromStr (const char* Str) /* Not found */ return ADDR_SIZE_INVALID; } - - - diff --git a/src/common/addrsize.h b/src/common/addrsize.h index d2c871e3f..ff61db413 100644 --- a/src/common/addrsize.h +++ b/src/common/addrsize.h @@ -72,6 +72,3 @@ unsigned char AddrSizeFromStr (const char* Str); /* End of addrsize.h */ #endif - - - diff --git a/src/common/alignment.c b/src/common/alignment.c index 9dad01d3e..5712fce32 100644 --- a/src/common/alignment.c +++ b/src/common/alignment.c @@ -182,6 +182,3 @@ unsigned long AlignCount (unsigned long Addr, unsigned long Alignment) { return AlignAddr (Addr, Alignment) - Addr; } - - - diff --git a/src/common/alignment.h b/src/common/alignment.h index 6e8ffa373..587225f00 100644 --- a/src/common/alignment.h +++ b/src/common/alignment.h @@ -83,6 +83,3 @@ unsigned long AlignCount (unsigned long Addr, unsigned long Alignment); /* End of alignment.h */ #endif - - - diff --git a/src/common/assertion.c b/src/common/assertion.c index d854c95f1..dbce8562f 100644 --- a/src/common/assertion.c +++ b/src/common/assertion.c @@ -58,6 +58,3 @@ int AssertAtAsmTime (AssertAction A) { return (A & 0x02U) == 0; } - - - diff --git a/src/common/assertion.h b/src/common/assertion.h index 3f41161be..7cb425e8c 100644 --- a/src/common/assertion.h +++ b/src/common/assertion.h @@ -71,6 +71,3 @@ int AssertAtAsmTime (AssertAction A); /* End of assertion.h */ #endif - - - diff --git a/src/common/attrib.h b/src/common/attrib.h index ff963f9c5..07e08b2df 100644 --- a/src/common/attrib.h +++ b/src/common/attrib.h @@ -55,6 +55,3 @@ /* End of attrib.h */ #endif - - - diff --git a/src/common/bitops.c b/src/common/bitops.c index 86633604b..9eba961b7 100644 --- a/src/common/bitops.c +++ b/src/common/bitops.c @@ -123,6 +123,3 @@ void BitMerge (void* Target, const void* Source, unsigned Size) *T++ |= *S++; } } - - - diff --git a/src/common/bitops.h b/src/common/bitops.h index ade1d1e4e..71186ba51 100644 --- a/src/common/bitops.h +++ b/src/common/bitops.h @@ -71,6 +71,3 @@ void BitMerge (void* Target, const void* Source, unsigned Size); /* End of bitops.h */ #endif - - - diff --git a/src/common/cddefs.h b/src/common/cddefs.h index 7b3dc5b99..f59ac06c7 100644 --- a/src/common/cddefs.h +++ b/src/common/cddefs.h @@ -76,6 +76,3 @@ /* End of cddefs.h */ #endif - - - diff --git a/src/common/chartype.c b/src/common/chartype.c index 4b8fa9e3d..b1571f3f7 100644 --- a/src/common/chartype.c +++ b/src/common/chartype.c @@ -147,6 +147,3 @@ int IsQuote (char C) { return (C == '"' || C == '\''); } - - - diff --git a/src/common/chartype.h b/src/common/chartype.h index 6c38d98c8..9a45b2add 100644 --- a/src/common/chartype.h +++ b/src/common/chartype.h @@ -112,6 +112,3 @@ int IsQuote (char C); /* End of chartype.h */ #endif - - - diff --git a/src/common/check.c b/src/common/check.c index cb4589bf9..c6c5d2d95 100644 --- a/src/common/check.c +++ b/src/common/check.c @@ -77,6 +77,3 @@ static void DefaultCheckFailed (const char* Msg, const char* Cond, /* Output a diagnostic and abort */ AbEnd ("%s%s, file `%s', line %u", Msg, Cond, File, Line); } - - - diff --git a/src/common/check.h b/src/common/check.h index 3f26be79c..a201a28a0 100644 --- a/src/common/check.h +++ b/src/common/check.h @@ -86,7 +86,5 @@ extern void (*CheckFailed) (const char* Msg, const char* Cond, /* End of check.h */ -#endif - - +#endif diff --git a/src/common/cmdline.c b/src/common/cmdline.c index 13a9da061..a7485e0df 100644 --- a/src/common/cmdline.c +++ b/src/common/cmdline.c @@ -307,7 +307,3 @@ void LongOption (unsigned* ArgNum, const LongOpt* OptTab, unsigned OptCount) /* Invalid option */ UnknownOption (Opt); } - - - - diff --git a/src/common/cmdline.h b/src/common/cmdline.h index b3a483b6b..cd8d5e71e 100644 --- a/src/common/cmdline.h +++ b/src/common/cmdline.h @@ -102,6 +102,3 @@ void LongOption (unsigned* ArgNum, const LongOpt* OptTab, unsigned OptCount); /* End of cmdline.h */ #endif - - - diff --git a/src/common/coll.c b/src/common/coll.c index 5112157aa..2f321e287 100644 --- a/src/common/coll.c +++ b/src/common/coll.c @@ -504,6 +504,3 @@ void CollSort (Collection* C, QuickSort (C, 0, C->Count-1, Compare, Data); } } - - - diff --git a/src/common/coll.h b/src/common/coll.h index eacfac248..b0a64557d 100644 --- a/src/common/coll.h +++ b/src/common/coll.h @@ -301,7 +301,3 @@ void CollSort (Collection* C, /* End of coll.h */ #endif - - - - diff --git a/src/common/cpu.c b/src/common/cpu.c index 7b61ccdcc..b79c9c16f 100644 --- a/src/common/cpu.c +++ b/src/common/cpu.c @@ -134,6 +134,3 @@ cpu_t FindCPU (const char* Name) /* Not found */ return CPU_UNKNOWN; } - - - diff --git a/src/common/cpu.h b/src/common/cpu.h index 121a54b7a..ce3391f31 100644 --- a/src/common/cpu.h +++ b/src/common/cpu.h @@ -102,6 +102,3 @@ cpu_t FindCPU (const char* Name); /* End of cpu.h */ #endif - - - diff --git a/src/common/debugflag.c b/src/common/debugflag.c index d660018b5..7d2e80009 100644 --- a/src/common/debugflag.c +++ b/src/common/debugflag.c @@ -45,6 +45,3 @@ unsigned char Debug = 0; /* Debug mode */ - - - diff --git a/src/common/debugflag.h b/src/common/debugflag.h index f62e60e82..d325a9eb9 100644 --- a/src/common/debugflag.h +++ b/src/common/debugflag.h @@ -49,7 +49,5 @@ extern unsigned char Debug; /* Debug mode */ /* End of debugflag.h */ -#endif - - +#endif diff --git a/src/common/exprdefs.c b/src/common/exprdefs.c index 69eda4c4d..d9a5adf6b 100644 --- a/src/common/exprdefs.c +++ b/src/common/exprdefs.c @@ -232,6 +232,3 @@ void DumpExpr (const ExprNode* Expr, const ExprNode* (*ResolveSym) (const struct InternalDumpExpr (Expr, ResolveSym); printf ("\n"); } - - - diff --git a/src/common/exprdefs.h b/src/common/exprdefs.h index 933677fa3..5465c4f25 100644 --- a/src/common/exprdefs.h +++ b/src/common/exprdefs.h @@ -145,6 +145,3 @@ void DumpExpr (const ExprNode* Expr, const ExprNode* (*ResolveSym) (const struct /* End of exprdefs.h */ #endif - - - diff --git a/src/common/fileid.c b/src/common/fileid.c index fe26aff79..a30a6b5e1 100644 --- a/src/common/fileid.c +++ b/src/common/fileid.c @@ -74,6 +74,3 @@ const FileId* GetFileId (const char* Name, const FileId* Table, unsigned Count) /* Search for a table entry and return it */ return bsearch (Ext+1, Table, Count, sizeof (FileId), CompareFileId); } - - - diff --git a/src/common/fileid.h b/src/common/fileid.h index 751c4ca17..9c5dd863c 100644 --- a/src/common/fileid.h +++ b/src/common/fileid.h @@ -74,7 +74,5 @@ const FileId* GetFileId (const char* Name, const FileId* Table, unsigned Count); /* End of fileid.h */ -#endif - - +#endif diff --git a/src/common/filepos.c b/src/common/filepos.c index bf6888495..42097424c 100644 --- a/src/common/filepos.c +++ b/src/common/filepos.c @@ -76,6 +76,3 @@ int CompareFilePos (const FilePos* P1, const FilePos* P2) return 0; } } - - - diff --git a/src/common/filepos.h b/src/common/filepos.h index 21ef2e7b0..ad9b70aee 100644 --- a/src/common/filepos.h +++ b/src/common/filepos.h @@ -77,6 +77,3 @@ int CompareFilePos (const FilePos* P1, const FilePos* P2); /* End of filepos.h */ #endif - - - diff --git a/src/common/filestat.c b/src/common/filestat.c index fd42c5ec0..d592c60cf 100644 --- a/src/common/filestat.c +++ b/src/common/filestat.c @@ -47,8 +47,8 @@ #include #include #if defined(_WIN32) -#include -#include +# include +# include #endif /* common */ diff --git a/src/common/filestat.h b/src/common/filestat.h index 56ce2e9e0..2c13f2611 100644 --- a/src/common/filestat.h +++ b/src/common/filestat.h @@ -68,6 +68,3 @@ int FileStat (const char* Path, struct stat* Buf); /* End of filestat.h */ #endif - - - diff --git a/src/common/filetime.c b/src/common/filetime.c index 88a79bf97..cf7967da5 100644 --- a/src/common/filetime.c +++ b/src/common/filetime.c @@ -43,11 +43,11 @@ #if defined(_WIN32) -#include -#include +# include +# include #else -#include /* FreeBSD needs this */ -#include +# include /* FreeBSD needs this */ +# include #endif diff --git a/src/common/filetime.h b/src/common/filetime.h index 4d20c7d63..c4027e249 100644 --- a/src/common/filetime.h +++ b/src/common/filetime.h @@ -68,6 +68,3 @@ int SetFileTimes (const char* Path, time_t T); /* End of filestat.h */ #endif - - - diff --git a/src/common/filetype.c b/src/common/filetype.c index 3e5779eb8..7e7917a64 100644 --- a/src/common/filetype.c +++ b/src/common/filetype.c @@ -104,6 +104,3 @@ FILETYPE GetFileType (const char* Name) /* Return the result */ return F? F->Id : FILETYPE_UNKNOWN; } - - - diff --git a/src/common/filetype.h b/src/common/filetype.h index c1294d5f4..1a6a9aa34 100644 --- a/src/common/filetype.h +++ b/src/common/filetype.h @@ -71,7 +71,5 @@ FILETYPE GetFileType (const char* Name); /* End of filetype.h */ -#endif - - +#endif diff --git a/src/common/fname.c b/src/common/fname.c index 5fd56338d..1c8c36f25 100644 --- a/src/common/fname.c +++ b/src/common/fname.c @@ -115,6 +115,3 @@ char* MakeFilename (const char* Origin, const char* Ext) } return Out; } - - - diff --git a/src/common/fname.h b/src/common/fname.h index c9c3848f7..1f5040c49 100644 --- a/src/common/fname.h +++ b/src/common/fname.h @@ -64,6 +64,3 @@ char* MakeFilename (const char* Origin, const char* Ext); /* End of fname.h */ #endif - - - diff --git a/src/common/fp.c b/src/common/fp.c index cfec86e42..602bfde8b 100644 --- a/src/common/fp.c +++ b/src/common/fp.c @@ -236,6 +236,3 @@ Double FP_D_Div (Double Left, Double Right) D.V = Left.V / Right.V; return D; } - - - diff --git a/src/common/fp.h b/src/common/fp.h index 8544c453f..f9444bbce 100644 --- a/src/common/fp.h +++ b/src/common/fp.h @@ -140,8 +140,3 @@ Double FP_D_Div (Double Left, Double Right); /* End of fp.h */ #endif - - - - - diff --git a/src/common/fragdefs.h b/src/common/fragdefs.h index c0a37ffcd..c3e589cb2 100644 --- a/src/common/fragdefs.h +++ b/src/common/fragdefs.h @@ -70,6 +70,3 @@ /* End of fragdefs.h */ #endif - - - diff --git a/src/common/gentype.c b/src/common/gentype.c index aa1471aa4..019569084 100644 --- a/src/common/gentype.c +++ b/src/common/gentype.c @@ -123,6 +123,3 @@ const char* GT_AsString (const StrBuf* Type, StrBuf* String) /* Return the contents of String */ return SB_GetConstBuf (String); } - - - diff --git a/src/common/gentype.h b/src/common/gentype.h index 1a2440f46..5294f9e05 100644 --- a/src/common/gentype.h +++ b/src/common/gentype.h @@ -152,7 +152,3 @@ const char* GT_AsString (const StrBuf* Type, StrBuf* String); /* End of gentype.h */ #endif - - - - diff --git a/src/common/hashfunc.c b/src/common/hashfunc.c index 6774c88fc..3730cb0ba 100644 --- a/src/common/hashfunc.c +++ b/src/common/hashfunc.c @@ -89,6 +89,3 @@ unsigned HashBuf (const StrBuf* S) } return H; } - - - diff --git a/src/common/hashfunc.h b/src/common/hashfunc.h index 4d8b5ac7b..2645474cf 100644 --- a/src/common/hashfunc.h +++ b/src/common/hashfunc.h @@ -64,6 +64,3 @@ unsigned HashBuf (const StrBuf* S) attribute ((const)); /* End of hashfunc.h */ #endif - - - diff --git a/src/common/hashtab.c b/src/common/hashtab.c index 376e26a28..36a3b389c 100644 --- a/src/common/hashtab.c +++ b/src/common/hashtab.c @@ -244,6 +244,3 @@ void HT_Walk (HashTable* T, int (*F) (void* Entry, void* Data), void* Data) } } } - - - diff --git a/src/common/hashtab.h b/src/common/hashtab.h index a8397db40..260a68b39 100644 --- a/src/common/hashtab.h +++ b/src/common/hashtab.h @@ -177,6 +177,3 @@ void HT_Walk (HashTable* T, int (*F) (void* Entry, void* Data), void* Data); /* End of hashtab.h */ #endif - - - diff --git a/src/common/hlldbgsym.h b/src/common/hlldbgsym.h index c1e6487ce..1f8d21de3 100644 --- a/src/common/hlldbgsym.h +++ b/src/common/hlldbgsym.h @@ -77,6 +77,3 @@ /* End of hlldbgsyms.h */ #endif - - - diff --git a/src/common/inline.h b/src/common/inline.h index 3857511a1..b90b3d1f4 100644 --- a/src/common/inline.h +++ b/src/common/inline.h @@ -54,6 +54,3 @@ /* End of inline.h */ #endif - - - diff --git a/src/common/intstack.c b/src/common/intstack.c index f5518e337..3f99e8854 100644 --- a/src/common/intstack.c +++ b/src/common/intstack.c @@ -87,6 +87,3 @@ long IS_Pop (IntStack* S) PRECONDITION (S->Count > 0); return S->Stack[--S->Count]; } - - - diff --git a/src/common/intstack.h b/src/common/intstack.h index f3fbf081b..313a846c1 100644 --- a/src/common/intstack.h +++ b/src/common/intstack.h @@ -116,7 +116,5 @@ long IS_Pop (IntStack* S); /* End of intstack.h */ -#endif - - +#endif diff --git a/src/common/inttypes.h b/src/common/inttypes.h index 3c87eb7be..24f822a0d 100644 --- a/src/common/inttypes.h +++ b/src/common/inttypes.h @@ -62,7 +62,5 @@ typedef unsigned long uintmax_t; /* End of inttypes.h */ -#endif - - +#endif diff --git a/src/common/libdefs.h b/src/common/libdefs.h index 19b3a8290..d91084c26 100644 --- a/src/common/libdefs.h +++ b/src/common/libdefs.h @@ -67,6 +67,3 @@ struct LibHeader { /* End of libdefs.h */ #endif - - - diff --git a/src/common/lidefs.h b/src/common/lidefs.h index 3c996f710..29d47b57a 100644 --- a/src/common/lidefs.h +++ b/src/common/lidefs.h @@ -62,6 +62,3 @@ /* End of lidefs.h */ #endif - - - diff --git a/src/common/matchpat.c b/src/common/matchpat.c index 9ea17cdb4..c84124491 100644 --- a/src/common/matchpat.c +++ b/src/common/matchpat.c @@ -238,6 +238,3 @@ int MatchPattern (const char* Source, const char* Pattern) /* Do the real thing */ return RecursiveMatch ((const unsigned char*) Source, (const unsigned char*) Pattern); } - - - diff --git a/src/common/matchpat.h b/src/common/matchpat.h index ddf431ff9..2612e378c 100644 --- a/src/common/matchpat.h +++ b/src/common/matchpat.h @@ -61,6 +61,3 @@ int MatchPattern (const char* Source, const char* Pattern); /* End of matchpat.h */ #endif - - - diff --git a/src/common/mmodel.c b/src/common/mmodel.c index 7ed0f9b3f..a51d900fd 100644 --- a/src/common/mmodel.c +++ b/src/common/mmodel.c @@ -124,5 +124,3 @@ void SetMemoryModel (mmodel_t Model) /* Zeropage is always zeropage */ ZpAddrSize = ADDR_SIZE_ZP; } - - diff --git a/src/common/mmodel.h b/src/common/mmodel.h index 043e93037..b3c3188d9 100644 --- a/src/common/mmodel.h +++ b/src/common/mmodel.h @@ -82,6 +82,3 @@ void SetMemoryModel (mmodel_t Model); /* End of mmodel.h */ #endif - - - diff --git a/src/common/objdefs.h b/src/common/objdefs.h index 608a4dc62..537ed2d57 100644 --- a/src/common/objdefs.h +++ b/src/common/objdefs.h @@ -92,6 +92,3 @@ struct ObjHeader { /* End of objdefs.h */ #endif - - - diff --git a/src/common/optdefs.h b/src/common/optdefs.h index 55264ca88..fae517667 100644 --- a/src/common/optdefs.h +++ b/src/common/optdefs.h @@ -72,6 +72,3 @@ struct Option { /* End of optdefs.h */ #endif - - - diff --git a/src/common/print.c b/src/common/print.c index 53b2aa210..70f43bc35 100644 --- a/src/common/print.c +++ b/src/common/print.c @@ -72,6 +72,3 @@ void Print (FILE* F, unsigned V, const char* Format, ...) vfprintf (F, Format, ap); va_end (ap); } - - - diff --git a/src/common/print.h b/src/common/print.h index 92b654910..d570d3ec6 100644 --- a/src/common/print.h +++ b/src/common/print.h @@ -70,7 +70,3 @@ void Print (FILE* F, unsigned V, const char* Format, ...) /* End of print.h */ #endif - - - - diff --git a/src/common/scopedefs.h b/src/common/scopedefs.h index 08a7f5ec8..31e493f2b 100644 --- a/src/common/scopedefs.h +++ b/src/common/scopedefs.h @@ -76,6 +76,3 @@ enum { /* End of scopedefs.h */ #endif - - - diff --git a/src/common/searchpath.h b/src/common/searchpath.h index 33db0c779..d1947d2be 100644 --- a/src/common/searchpath.h +++ b/src/common/searchpath.h @@ -102,7 +102,5 @@ char* SearchFile (const SearchPaths* P, const char* File); /* End of searchpath.h */ -#endif - - +#endif diff --git a/src/common/segdefs.h b/src/common/segdefs.h index e8f6883f6..10a366582 100644 --- a/src/common/segdefs.h +++ b/src/common/segdefs.h @@ -52,6 +52,3 @@ /* End of segdefs.h */ #endif - - - diff --git a/src/common/segnames.c b/src/common/segnames.c index 2bed984ed..bb9aac351 100644 --- a/src/common/segnames.c +++ b/src/common/segnames.c @@ -65,6 +65,3 @@ int ValidSegName (const char* Name) /* Name is ok */ return 1; } - - - diff --git a/src/common/segnames.h b/src/common/segnames.h index 071cb387b..0d57d6ac3 100644 --- a/src/common/segnames.h +++ b/src/common/segnames.h @@ -68,6 +68,3 @@ int ValidSegName (const char* Name); /* End of segnames.h */ #endif - - - diff --git a/src/common/shift.c b/src/common/shift.c index 156dbd22c..f9a842a88 100644 --- a/src/common/shift.c +++ b/src/common/shift.c @@ -125,6 +125,3 @@ unsigned long shr_l (unsigned long l, unsigned count) } return l; } - - - diff --git a/src/common/shift.h b/src/common/shift.h index 4bf96e335..07c192acb 100644 --- a/src/common/shift.h +++ b/src/common/shift.h @@ -79,6 +79,3 @@ unsigned long shr_l (unsigned long l, unsigned count); /* End of shift.h */ #endif - - - diff --git a/src/common/strbuf.c b/src/common/strbuf.c index 029fe5ad4..600f2374a 100644 --- a/src/common/strbuf.c +++ b/src/common/strbuf.c @@ -493,6 +493,3 @@ void SB_Printf (StrBuf* S, const char* Format, ...) SB_VPrintf (S, Format, ap); va_end (ap); } - - - diff --git a/src/common/strbuf.h b/src/common/strbuf.h index 4d90637d5..c8ec1f10b 100644 --- a/src/common/strbuf.h +++ b/src/common/strbuf.h @@ -421,6 +421,3 @@ void SB_Printf (StrBuf* S, const char* Format, ...) attribute ((format (printf, /* End of strbuf.h */ #endif - - - diff --git a/src/common/strpool.c b/src/common/strpool.c index 963ecaf0a..c5661be75 100644 --- a/src/common/strpool.c +++ b/src/common/strpool.c @@ -281,6 +281,3 @@ unsigned SP_GetCount (const StringPool* P) { return CollCount (&P->Entries); } - - - diff --git a/src/common/strpool.h b/src/common/strpool.h index 60b8b3451..967bce4ab 100644 --- a/src/common/strpool.h +++ b/src/common/strpool.h @@ -101,6 +101,3 @@ unsigned SP_GetCount (const StringPool* P); /* End of strpool.h */ #endif - - - diff --git a/src/common/strstack.c b/src/common/strstack.c index c316399b2..508af178e 100644 --- a/src/common/strstack.c +++ b/src/common/strstack.c @@ -80,6 +80,3 @@ void SS_Push (StrStack* S, const char* Val) CHECK (S->Count < sizeof (S->Stack) / sizeof (S->Stack[0])); S->Stack[S->Count++] = xstrdup (Val); } - - - diff --git a/src/common/strstack.h b/src/common/strstack.h index 6331241de..d29a47993 100644 --- a/src/common/strstack.h +++ b/src/common/strstack.h @@ -100,7 +100,5 @@ void SS_Push (StrStack* S, const char* Val); /* End of strstack.h */ -#endif - - +#endif diff --git a/src/common/strutil.h b/src/common/strutil.h index 24daa222a..2bdcc5686 100644 --- a/src/common/strutil.h +++ b/src/common/strutil.h @@ -62,6 +62,3 @@ int StrCaseCmp (const char* S1, const char* S2); /* End of strutil.h */ #endif - - - diff --git a/src/common/symdefs.h b/src/common/symdefs.h index fbe0bc168..1a487e0f3 100644 --- a/src/common/symdefs.h +++ b/src/common/symdefs.h @@ -103,6 +103,3 @@ /* End of symdefs.h */ #endif - - - diff --git a/src/common/target.c b/src/common/target.c index a4287ee56..ae575f2ad 100644 --- a/src/common/target.c +++ b/src/common/target.c @@ -232,4 +232,3 @@ const char* GetTargetName (target_t Target) /* Return the array entry */ return GetTargetProperties (Target)->Name; } - diff --git a/src/common/target.h b/src/common/target.h index e1675ad65..6384bf19e 100644 --- a/src/common/target.h +++ b/src/common/target.h @@ -118,7 +118,5 @@ const char* GetTargetName (target_t Target); /* End of target.h */ -#endif - - +#endif diff --git a/src/common/tgttrans.c b/src/common/tgttrans.c index a1b61cbd3..7725cf285 100644 --- a/src/common/tgttrans.c +++ b/src/common/tgttrans.c @@ -127,8 +127,3 @@ void TgtTranslateSet (unsigned Index, unsigned char C) CHECK (Index > 0 && Index < sizeof (Tab)); Tab[Index] = C; } - - - - - diff --git a/src/common/tgttrans.h b/src/common/tgttrans.h index e4f08f71a..5b942e7f5 100644 --- a/src/common/tgttrans.h +++ b/src/common/tgttrans.h @@ -75,6 +75,3 @@ void TgtTranslateSet (unsigned Index, unsigned char C); /* End of tgttrans.h */ #endif - - - diff --git a/src/common/va_copy.h b/src/common/va_copy.h index 30f275461..2f56efa1a 100644 --- a/src/common/va_copy.h +++ b/src/common/va_copy.h @@ -74,7 +74,5 @@ /* End of va_copy.h */ -#endif - - +#endif diff --git a/src/common/version.c b/src/common/version.c index e5d52c02d..c935d108b 100644 --- a/src/common/version.c +++ b/src/common/version.c @@ -77,6 +77,3 @@ unsigned GetVersionAsNumber (void) { return ((VER_MAJOR * 0x100) + (VER_MINOR * 0x10) + VER_PATCH); } - - - diff --git a/src/common/version.h b/src/common/version.h index edf5d2c56..145c2eddd 100644 --- a/src/common/version.h +++ b/src/common/version.h @@ -55,7 +55,3 @@ unsigned GetVersionAsNumber (void); /* End of version.h */ #endif - - - - diff --git a/src/common/xmalloc.c b/src/common/xmalloc.c index 1a7b915ab..327d378fe 100644 --- a/src/common/xmalloc.c +++ b/src/common/xmalloc.c @@ -125,6 +125,3 @@ void* xdup (const void* Buf, size_t Size) { return memcpy (xmalloc (Size), Buf, Size); } - - - diff --git a/src/common/xmalloc.h b/src/common/xmalloc.h index 3979a9617..eb196b6a1 100644 --- a/src/common/xmalloc.h +++ b/src/common/xmalloc.h @@ -68,6 +68,3 @@ void* xdup (const void* Buf, size_t Size); /* End of xmalloc.h */ #endif - - - diff --git a/src/common/xsprintf.c b/src/common/xsprintf.c index c33f32b24..ea63b6d7e 100644 --- a/src/common/xsprintf.c +++ b/src/common/xsprintf.c @@ -676,6 +676,3 @@ int xvsprintf (char* Buf, size_t BufSize, const char* Format, va_list ap) CHECK (Res >= 0 && (unsigned) (Res+1) < BufSize); return Res; } - - - diff --git a/src/common/xsprintf.h b/src/common/xsprintf.h index 2758e5bc2..7408177a5 100644 --- a/src/common/xsprintf.h +++ b/src/common/xsprintf.h @@ -92,7 +92,3 @@ int xvsprintf (char* Buf, size_t BufSize, const char* Format, va_list ap) /* End of xsprintf.h */ #endif - - - - diff --git a/src/da65/asminc.c b/src/da65/asminc.c index 079b751ba..4f496c79f 100644 --- a/src/da65/asminc.c +++ b/src/da65/asminc.c @@ -233,6 +233,3 @@ void AsmInc (const char* Filename, char CommentStart, int IgnoreUnknown) /* Close the include file ignoring errors (we were just reading). */ (void) fclose (F); } - - - diff --git a/src/da65/asminc.h b/src/da65/asminc.h index 8c375b67e..bf48710e9 100644 --- a/src/da65/asminc.h +++ b/src/da65/asminc.h @@ -50,7 +50,5 @@ void AsmInc (const char* Filename, char CommentStart, int IgnoreUnknown); /* End of asminc.h */ -#endif - - +#endif diff --git a/src/da65/attrtab.c b/src/da65/attrtab.c index 07a47b72e..1cfb5ba45 100644 --- a/src/da65/attrtab.c +++ b/src/da65/attrtab.c @@ -178,6 +178,3 @@ attr_t GetLabelAttr (unsigned Addr) /* Return the attribute */ return (AttrTab[Addr] & atLabelMask); } - - - diff --git a/src/da65/attrtab.h b/src/da65/attrtab.h index b1caf083d..c9fb9c35f 100644 --- a/src/da65/attrtab.h +++ b/src/da65/attrtab.h @@ -114,7 +114,5 @@ attr_t GetLabelAttr (unsigned Addr); /* End of attrtab.h */ -#endif - - +#endif diff --git a/src/da65/code.c b/src/da65/code.c index c94fa24cd..0cc158219 100644 --- a/src/da65/code.c +++ b/src/da65/code.c @@ -219,6 +219,3 @@ void ResetCode (void) { PC = CodeStart; } - - - diff --git a/src/da65/code.h b/src/da65/code.h index e4d95a03b..0d21e61e1 100644 --- a/src/da65/code.h +++ b/src/da65/code.h @@ -84,7 +84,5 @@ void ResetCode (void); /* End of code.h */ -#endif - - +#endif diff --git a/src/da65/comments.c b/src/da65/comments.c index 4702cf9d7..64b64ca28 100644 --- a/src/da65/comments.c +++ b/src/da65/comments.c @@ -85,6 +85,3 @@ const char* GetComment (unsigned Addr) /* Return the label if any */ return CommentTab[Addr]; } - - - diff --git a/src/da65/comments.h b/src/da65/comments.h index 0e235d31d..1b8bc1771 100644 --- a/src/da65/comments.h +++ b/src/da65/comments.h @@ -57,7 +57,5 @@ const char* GetComment (unsigned Addr); /* End of comments.h */ -#endif - - +#endif diff --git a/src/da65/data.c b/src/da65/data.c index 0e2f7f275..236241357 100644 --- a/src/da65/data.c +++ b/src/da65/data.c @@ -373,6 +373,3 @@ unsigned TextTable (void) /* Return the number of bytes output */ return ByteCount; } - - - diff --git a/src/da65/data.h b/src/da65/data.h index 37c0df04a..4cec14a03 100644 --- a/src/da65/data.h +++ b/src/da65/data.h @@ -68,7 +68,5 @@ unsigned TextTable (void); /* End of data.h */ -#endif - - +#endif diff --git a/src/da65/error.c b/src/da65/error.c index e0d96c9fb..d09dadcbb 100644 --- a/src/da65/error.c +++ b/src/da65/error.c @@ -86,6 +86,3 @@ void Internal (const char* Format, ...) va_end (ap); exit (EXIT_FAILURE); } - - - diff --git a/src/da65/error.h b/src/da65/error.h index b8de97286..d0221bcc4 100644 --- a/src/da65/error.h +++ b/src/da65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/da65/global.c b/src/da65/global.c index 14f9982d0..e2b1fd144 100644 --- a/src/da65/global.c +++ b/src/da65/global.c @@ -77,6 +77,3 @@ unsigned ACol = 17; /* Argument column */ unsigned CCol = 49; /* Comment column */ unsigned TCol = 81; /* Text bytes column */ unsigned BytesPerLine = 8; /* Max. number of data bytes per line */ - - - diff --git a/src/da65/global.h b/src/da65/global.h index b48805157..14b113399 100644 --- a/src/da65/global.h +++ b/src/da65/global.h @@ -112,6 +112,3 @@ extern unsigned BytesPerLine; /* End of global.h */ #endif - - - diff --git a/src/da65/handler.c b/src/da65/handler.c index 1b26fca7e..f4022ce37 100644 --- a/src/da65/handler.c +++ b/src/da65/handler.c @@ -662,6 +662,3 @@ void OH_JmpAbsoluteIndirect (const OpcDesc* D) } SeparatorLine (); } - - - diff --git a/src/da65/handler.h b/src/da65/handler.h index fddcfba25..77da618c1 100644 --- a/src/da65/handler.h +++ b/src/da65/handler.h @@ -103,7 +103,5 @@ void OH_JmpAbsoluteIndirect (const OpcDesc* D); /* End of handler.h */ -#endif - - +#endif diff --git a/src/da65/infofile.c b/src/da65/infofile.c index 4b1857dc5..4ee1ffd79 100644 --- a/src/da65/infofile.c +++ b/src/da65/infofile.c @@ -837,9 +837,3 @@ void ReadInfoFile (void) InfoCloseInput (); } } - - - - - - diff --git a/src/da65/infofile.h b/src/da65/infofile.h index 0bfeb79b8..b8b3f53a8 100644 --- a/src/da65/infofile.h +++ b/src/da65/infofile.h @@ -50,7 +50,5 @@ void ReadInfoFile (void); /* End of infofile.h */ -#endif - - +#endif diff --git a/src/da65/labels.c b/src/da65/labels.c index c837b17a6..6a1432104 100644 --- a/src/da65/labels.c +++ b/src/da65/labels.c @@ -410,6 +410,3 @@ void DefOutOfRangeLabels (void) SeparatorLine (); } - - - diff --git a/src/da65/labels.h b/src/da65/labels.h index 34735a54c..88ea8d88b 100644 --- a/src/da65/labels.h +++ b/src/da65/labels.h @@ -100,7 +100,5 @@ void DefOutOfRangeLabels (void); /* End of labels.h */ -#endif - - +#endif diff --git a/src/da65/main.c b/src/da65/main.c index a0af30539..921951f3a 100644 --- a/src/da65/main.c +++ b/src/da65/main.c @@ -633,6 +633,3 @@ int main (int argc, char* argv []) /* Done */ return EXIT_SUCCESS; } - - - diff --git a/src/da65/opc6502.c b/src/da65/opc6502.c index b59db8d57..27f734d56 100644 --- a/src/da65/opc6502.c +++ b/src/da65/opc6502.c @@ -304,6 +304,3 @@ const OpcDesc OpcTable_6502[256] = { { "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */ { "", 1, flIllegal, OH_Illegal, }, /* $ff */ }; - - - diff --git a/src/da65/opc6502.h b/src/da65/opc6502.h index 26171cf61..c890e241b 100644 --- a/src/da65/opc6502.h +++ b/src/da65/opc6502.h @@ -54,7 +54,5 @@ extern const OpcDesc OpcTable_6502[256]; /* End of opc6502.h */ -#endif - - +#endif diff --git a/src/da65/opc6502x.c b/src/da65/opc6502x.c index ee2c4e0ec..01bef44b1 100644 --- a/src/da65/opc6502x.c +++ b/src/da65/opc6502x.c @@ -306,7 +306,3 @@ const OpcDesc OpcTable_6502X[256] = { { "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */ { "isc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $ff */ }; - - - - diff --git a/src/da65/opc65816.c b/src/da65/opc65816.c index 520aafefb..2cd2aaee8 100644 --- a/src/da65/opc65816.c +++ b/src/da65/opc65816.c @@ -304,6 +304,3 @@ const OpcDesc OpcTable_65816[256] = { { "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */ { "sbc", 4, flUseLabel, OH_AbsoluteLongX }, /* $ff */ }; - - - diff --git a/src/da65/opc65816.h b/src/da65/opc65816.h index 4b0ac21f4..12ffc4a37 100644 --- a/src/da65/opc65816.h +++ b/src/da65/opc65816.h @@ -54,7 +54,5 @@ extern const OpcDesc OpcTable_65816[256]; /* End of opc65816.h */ -#endif - - +#endif diff --git a/src/da65/opc65c02.c b/src/da65/opc65c02.c index 5d29a36de..00520e729 100644 --- a/src/da65/opc65c02.c +++ b/src/da65/opc65c02.c @@ -304,6 +304,3 @@ const OpcDesc OpcTable_65C02[256] = { { "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */ { "bbs7", 3, flUseLabel, OH_BitBranch }, /* $ff */ }; - - - diff --git a/src/da65/opc65c02.h b/src/da65/opc65c02.h index 2addf5861..38138aa51 100644 --- a/src/da65/opc65c02.h +++ b/src/da65/opc65c02.h @@ -54,7 +54,5 @@ extern const OpcDesc OpcTable_65C02[256]; /* End of opc65c02.h */ -#endif - - +#endif diff --git a/src/da65/opc65sc02.c b/src/da65/opc65sc02.c index 236a9ee34..90549d00f 100644 --- a/src/da65/opc65sc02.c +++ b/src/da65/opc65sc02.c @@ -304,6 +304,3 @@ const OpcDesc OpcTable_65SC02[256] = { { "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */ { "", 1, flIllegal, OH_Illegal, }, /* $ff */ }; - - - diff --git a/src/da65/opc65sc02.h b/src/da65/opc65sc02.h index e9cd30a21..391f425ea 100644 --- a/src/da65/opc65sc02.h +++ b/src/da65/opc65sc02.h @@ -54,7 +54,5 @@ extern const OpcDesc OpcTable_65SC02[256]; /* End of opc65sc02.h */ -#endif - - +#endif diff --git a/src/da65/opcdesc.h b/src/da65/opcdesc.h index 093e71c9d..7913131cd 100644 --- a/src/da65/opcdesc.h +++ b/src/da65/opcdesc.h @@ -73,7 +73,5 @@ struct OpcDesc { /* End of opcdesc.h */ -#endif - - +#endif diff --git a/src/da65/opchuc6280.h b/src/da65/opchuc6280.h index 26f5390a8..d0518dcc4 100644 --- a/src/da65/opchuc6280.h +++ b/src/da65/opchuc6280.h @@ -54,7 +54,5 @@ extern const OpcDesc OpcTable_HuC6280[256]; /* End of opchuc6280.h */ -#endif - - +#endif diff --git a/src/da65/opcm740.c b/src/da65/opcm740.c index 2a2040515..67a36b48c 100644 --- a/src/da65/opcm740.c +++ b/src/da65/opcm740.c @@ -305,6 +305,3 @@ const OpcDesc OpcTable_M740[256] = { { "inc", 3, flUseLabel|flAbsOverride, OH_AbsoluteX }, /* $fe */ { "clb", 2, flUseLabel, OH_ZeroPageBit }, /* $ff */ }; - - - diff --git a/src/da65/opcm740.h b/src/da65/opcm740.h index edfa20c8d..07c49578b 100644 --- a/src/da65/opcm740.h +++ b/src/da65/opcm740.h @@ -55,7 +55,5 @@ extern const OpcDesc OpcTable_M740[256]; /* End of opcm740.h */ -#endif - - +#endif diff --git a/src/da65/opctable.c b/src/da65/opctable.c index e44294b1e..c85805faf 100644 --- a/src/da65/opctable.c +++ b/src/da65/opctable.c @@ -76,7 +76,3 @@ void SetOpcTable (cpu_t CPU) default: Error ("Unsupported CPU"); } } - - - - diff --git a/src/da65/opctable.h b/src/da65/opctable.h index 2835fba01..d5c81b216 100644 --- a/src/da65/opctable.h +++ b/src/da65/opctable.h @@ -69,7 +69,5 @@ void SetOpcTable (cpu_t CPU); /* End of opctable.h */ -#endif - - +#endif diff --git a/src/da65/output.c b/src/da65/output.c index 3bfebc428..2d967ec80 100644 --- a/src/da65/output.c +++ b/src/da65/output.c @@ -383,6 +383,3 @@ void OutputSettings (void) LineFeed (); LineFeed (); } - - - diff --git a/src/da65/output.h b/src/da65/output.h index 16e2ee3be..68d227350 100644 --- a/src/da65/output.h +++ b/src/da65/output.h @@ -111,8 +111,5 @@ void OutputSettings (void); /* End of output.h */ -#endif - - - +#endif diff --git a/src/da65/scanner.c b/src/da65/scanner.c index dab5ffe98..8dc8d393a 100644 --- a/src/da65/scanner.c +++ b/src/da65/scanner.c @@ -533,7 +533,3 @@ void InfoCloseInput (void) InputFile = 0; } } - - - - diff --git a/src/da65/scanner.h b/src/da65/scanner.h index 46b9d29fc..f7f090fad 100644 --- a/src/da65/scanner.h +++ b/src/da65/scanner.h @@ -214,7 +214,5 @@ void InfoCloseInput (void); /* End of scanner.h */ -#endif - - +#endif diff --git a/src/da65/segment.c b/src/da65/segment.c index 479f8f973..4a4f70a45 100644 --- a/src/da65/segment.c +++ b/src/da65/segment.c @@ -107,6 +107,3 @@ void AddAbsSegment (unsigned Start, unsigned End, const char* Name) /* Mark the addresses within the segment */ MarkRange (Start, End, atSegment); } - - - diff --git a/src/da65/segment.h b/src/da65/segment.h index b2dc26488..14700ba99 100644 --- a/src/da65/segment.h +++ b/src/da65/segment.h @@ -52,6 +52,3 @@ void AddAbsSegment (unsigned Start, unsigned End, const char* Name); /* End of segment.h */ #endif - - - diff --git a/src/ld65/asserts.c b/src/ld65/asserts.c index f84bdf3f4..276b13595 100644 --- a/src/ld65/asserts.c +++ b/src/ld65/asserts.c @@ -157,6 +157,3 @@ void CheckAssertions (void) } } } - - - diff --git a/src/ld65/asserts.h b/src/ld65/asserts.h index 94125294d..bce41aa15 100644 --- a/src/ld65/asserts.h +++ b/src/ld65/asserts.h @@ -76,6 +76,3 @@ void CheckAssertions (void); /* End of asserts.h */ #endif - - - diff --git a/src/ld65/bin.c b/src/ld65/bin.c index e86411241..568269b39 100644 --- a/src/ld65/bin.c +++ b/src/ld65/bin.c @@ -316,8 +316,3 @@ void BinWriteTarget (BinDesc* D, struct File* F) D->F = 0; D->Filename = 0; } - - - - - diff --git a/src/ld65/bin.h b/src/ld65/bin.h index 9cb5e7dd9..f53aec9c4 100644 --- a/src/ld65/bin.h +++ b/src/ld65/bin.h @@ -73,6 +73,3 @@ void BinWriteTarget (BinDesc* D, File* F); /* End of bin.h */ #endif - - - diff --git a/src/ld65/binfmt.c b/src/ld65/binfmt.c index 39a7ae3e2..a510f94b7 100644 --- a/src/ld65/binfmt.c +++ b/src/ld65/binfmt.c @@ -88,6 +88,3 @@ int RelocatableBinFmt (unsigned Format) /* Return the flag */ return Reloc; } - - - diff --git a/src/ld65/binfmt.h b/src/ld65/binfmt.h index 5c4bf5778..831e46d12 100644 --- a/src/ld65/binfmt.h +++ b/src/ld65/binfmt.h @@ -63,6 +63,3 @@ int RelocatableBinFmt (unsigned Format); /* End of binfmt.h */ #endif - - - diff --git a/src/ld65/cfgexpr.c b/src/ld65/cfgexpr.c index 65ff3dd67..d922f49ba 100644 --- a/src/ld65/cfgexpr.c +++ b/src/ld65/cfgexpr.c @@ -244,6 +244,3 @@ long CfgCheckedConstExpr (long Min, long Max) /* Return the value */ return Val; } - - - diff --git a/src/ld65/cfgexpr.h b/src/ld65/cfgexpr.h index 8a6e18c67..574f593e3 100644 --- a/src/ld65/cfgexpr.h +++ b/src/ld65/cfgexpr.h @@ -63,7 +63,5 @@ long CfgCheckedConstExpr (long Min, long Max); /* End of cfgexpr.h */ -#endif - - +#endif diff --git a/src/ld65/condes.c b/src/ld65/condes.c index dc8383767..68828abbb 100644 --- a/src/ld65/condes.c +++ b/src/ld65/condes.c @@ -389,6 +389,3 @@ void ConDesDump (void) printf ("CONDES(%u): %u symbols\n", Type, CollCount (ExpList)); } } - - - diff --git a/src/ld65/condes.h b/src/ld65/condes.h index 3cec6bda9..662993dcc 100644 --- a/src/ld65/condes.h +++ b/src/ld65/condes.h @@ -121,6 +121,3 @@ void ConDesDump (void); /* End of condes.h */ #endif - - - diff --git a/src/ld65/config.c b/src/ld65/config.c index a5d6ff39b..b15dff5c6 100644 --- a/src/ld65/config.c +++ b/src/ld65/config.c @@ -2080,6 +2080,3 @@ void CfgWriteTarget (void) } } } - - - diff --git a/src/ld65/config.h b/src/ld65/config.h index 76104d2d8..8eb86133e 100644 --- a/src/ld65/config.h +++ b/src/ld65/config.h @@ -125,8 +125,3 @@ void CfgWriteTarget (void); /* End of config.h */ #endif - - - - - diff --git a/src/ld65/dbgfile.c b/src/ld65/dbgfile.c index aec560212..7eabd5198 100644 --- a/src/ld65/dbgfile.c +++ b/src/ld65/dbgfile.c @@ -169,6 +169,3 @@ void CreateDbgFile (void) Error ("Error closing debug file `%s': %s", DbgFileName, strerror (errno)); } } - - - diff --git a/src/ld65/dbgfile.h b/src/ld65/dbgfile.h index a5020101e..b8e1a534f 100644 --- a/src/ld65/dbgfile.h +++ b/src/ld65/dbgfile.h @@ -52,6 +52,3 @@ void CreateDbgFile (void); /* End of dbgfile.h */ #endif - - - diff --git a/src/ld65/dbgsyms.c b/src/ld65/dbgsyms.c index 808f04c44..a58ddcfe9 100644 --- a/src/ld65/dbgsyms.c +++ b/src/ld65/dbgsyms.c @@ -540,7 +540,3 @@ void PrintDbgSymLabels (FILE* F) } } } - - - - diff --git a/src/ld65/dbgsyms.h b/src/ld65/dbgsyms.h index 3d58579f6..f631dcb52 100644 --- a/src/ld65/dbgsyms.h +++ b/src/ld65/dbgsyms.h @@ -96,6 +96,3 @@ void PrintDbgSymLabels (FILE* F); /* End of dbgsyms.h */ #endif - - - diff --git a/src/ld65/error.c b/src/ld65/error.c index bfd7e0671..20dfd4537 100644 --- a/src/ld65/error.c +++ b/src/ld65/error.c @@ -107,6 +107,3 @@ void Internal (const char* Format, ...) exit (EXIT_FAILURE); } - - - diff --git a/src/ld65/error.h b/src/ld65/error.h index e144bb4fd..b49d8919c 100644 --- a/src/ld65/error.h +++ b/src/ld65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/ld65/exports.c b/src/ld65/exports.c index c5533d318..9caa2ba57 100644 --- a/src/ld65/exports.c +++ b/src/ld65/exports.c @@ -1003,7 +1003,3 @@ void CircularRefError (const Export* E) GetSourceName (LI), GetSourceLine (LI)); } - - - - diff --git a/src/ld65/exports.h b/src/ld65/exports.h index 0d5337785..2b7c55bed 100644 --- a/src/ld65/exports.h +++ b/src/ld65/exports.h @@ -212,7 +212,3 @@ void CircularRefError (const Export* E); /* End of exports.h */ #endif - - - - diff --git a/src/ld65/expr.c b/src/ld65/expr.c index c5cfe9abd..0fa079f8e 100644 --- a/src/ld65/expr.c +++ b/src/ld65/expr.c @@ -714,6 +714,3 @@ int EqualExpr (ExprNode* E1, ExprNode* E2) } } - - - diff --git a/src/ld65/expr.h b/src/ld65/expr.h index bc3e8b216..f27120330 100644 --- a/src/ld65/expr.h +++ b/src/ld65/expr.h @@ -122,6 +122,3 @@ int EqualExpr (ExprNode* E1, ExprNode* E2); /* End of expr.h */ #endif - - - diff --git a/src/ld65/extsyms.c b/src/ld65/extsyms.c index b19c23100..642e031a2 100644 --- a/src/ld65/extsyms.c +++ b/src/ld65/extsyms.c @@ -233,7 +233,3 @@ const ExtSym* ExtSymNext (const ExtSym* E) { return E->List; } - - - - diff --git a/src/ld65/extsyms.h b/src/ld65/extsyms.h index c3c82b2e2..a394ad76a 100644 --- a/src/ld65/extsyms.h +++ b/src/ld65/extsyms.h @@ -94,7 +94,3 @@ const ExtSym* ExtSymNext (const ExtSym* E); /* End of extsyms.h */ #endif - - - - diff --git a/src/ld65/fileinfo.c b/src/ld65/fileinfo.c index cc0238166..047befa7c 100644 --- a/src/ld65/fileinfo.c +++ b/src/ld65/fileinfo.c @@ -261,6 +261,3 @@ void PrintDbgFileInfo (FILE* F) fputc ('\n', F); } } - - - diff --git a/src/ld65/fileinfo.h b/src/ld65/fileinfo.h index 038e2404c..978ef4ce2 100644 --- a/src/ld65/fileinfo.h +++ b/src/ld65/fileinfo.h @@ -87,7 +87,5 @@ void PrintDbgFileInfo (FILE* F); /* End of fileinfo.h */ -#endif - - +#endif diff --git a/src/ld65/fileio.c b/src/ld65/fileio.c index 9edb911ab..19943ecad 100644 --- a/src/ld65/fileio.c +++ b/src/ld65/fileio.c @@ -332,7 +332,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size) } return Data; } - - - - diff --git a/src/ld65/fileio.h b/src/ld65/fileio.h index f78f4a11b..f0121ef16 100644 --- a/src/ld65/fileio.h +++ b/src/ld65/fileio.h @@ -118,6 +118,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size); /* End of fileio.h */ #endif - - - diff --git a/src/ld65/filepath.c b/src/ld65/filepath.c index 1010023f2..17cd451de 100644 --- a/src/ld65/filepath.c +++ b/src/ld65/filepath.c @@ -103,6 +103,3 @@ void InitSearchPaths (void) AddSubSearchPathFromWinBin (ObjDefaultPath, "lib"); AddSubSearchPathFromWinBin (CfgDefaultPath, "cfg"); } - - - diff --git a/src/ld65/filepath.h b/src/ld65/filepath.h index 12032b165..a2fcd4bb3 100644 --- a/src/ld65/filepath.h +++ b/src/ld65/filepath.h @@ -71,7 +71,5 @@ void InitSearchPaths (void); /* End of filepath.h */ -#endif - - +#endif diff --git a/src/ld65/fragment.c b/src/ld65/fragment.c index 70ca3d037..e157fe28d 100644 --- a/src/ld65/fragment.c +++ b/src/ld65/fragment.c @@ -94,6 +94,3 @@ Fragment* NewFragment (unsigned char Type, unsigned Size, Section* S) /* Return the new fragment */ return F; } - - - diff --git a/src/ld65/fragment.h b/src/ld65/fragment.h index 98f90f568..7d6dd9201 100644 --- a/src/ld65/fragment.h +++ b/src/ld65/fragment.h @@ -112,7 +112,3 @@ INLINE unsigned GetFragmentSourceLine (const Fragment* F) /* End of fragment.h */ #endif - - - - diff --git a/src/ld65/global.c b/src/ld65/global.c index 985a5914f..dc0c8d521 100644 --- a/src/ld65/global.c +++ b/src/ld65/global.c @@ -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 */ - - - diff --git a/src/ld65/global.h b/src/ld65/global.h index 957d34041..4b873f027 100644 --- a/src/ld65/global.h +++ b/src/ld65/global.h @@ -62,6 +62,3 @@ extern const char* DbgFileName; /* Name of the debug file */ /* End of global.h */ #endif - - - diff --git a/src/ld65/library.c b/src/ld65/library.c index c81ee6f91..71dcc2a35 100644 --- a/src/ld65/library.c +++ b/src/ld65/library.c @@ -553,7 +553,3 @@ void PrintDbgLibraries (FILE* F) fprintf (F, "lib\tid=%u,name=\"%s\"\n", L->Id, GetString (L->Name)); } } - - - - diff --git a/src/ld65/library.h b/src/ld65/library.h index 19648630c..7eadf250f 100644 --- a/src/ld65/library.h +++ b/src/ld65/library.h @@ -92,6 +92,3 @@ void PrintDbgLibraries (FILE* F); /* End of library.h */ #endif - - - diff --git a/src/ld65/lineinfo.c b/src/ld65/lineinfo.c index cc54055c3..3daa2fd66 100644 --- a/src/ld65/lineinfo.c +++ b/src/ld65/lineinfo.c @@ -284,6 +284,3 @@ void PrintDbgLineInfo (FILE* F) } } } - - - diff --git a/src/ld65/lineinfo.h b/src/ld65/lineinfo.h index 5af9e5788..828a9ebd1 100644 --- a/src/ld65/lineinfo.h +++ b/src/ld65/lineinfo.h @@ -186,7 +186,5 @@ void PrintDbgLineInfo (FILE* F); /* End of lineinfo.h */ -#endif - - +#endif diff --git a/src/ld65/main.c b/src/ld65/main.c index 84af34d54..b47831c39 100644 --- a/src/ld65/main.c +++ b/src/ld65/main.c @@ -722,6 +722,3 @@ int main (int argc, char* argv []) /* Return an apropriate exit code */ return EXIT_SUCCESS; } - - - diff --git a/src/ld65/mapfile.c b/src/ld65/mapfile.c index fa8d98efc..6b13e46ec 100644 --- a/src/ld65/mapfile.c +++ b/src/ld65/mapfile.c @@ -152,6 +152,3 @@ void CreateLabelFile (void) Error ("Error closing label file `%s': %s", LabelFileName, strerror (errno)); } } - - - diff --git a/src/ld65/mapfile.h b/src/ld65/mapfile.h index c2685e7aa..3473b4d64 100644 --- a/src/ld65/mapfile.h +++ b/src/ld65/mapfile.h @@ -71,6 +71,3 @@ void CreateLabelFile (void); /* End of mapfile.h */ #endif - - - diff --git a/src/ld65/memarea.c b/src/ld65/memarea.c index 5b562b34a..d143b9790 100644 --- a/src/ld65/memarea.c +++ b/src/ld65/memarea.c @@ -73,7 +73,3 @@ MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name) /* ...and return it */ return M; } - - - - diff --git a/src/ld65/memarea.h b/src/ld65/memarea.h index 4e051871c..b6972a985 100644 --- a/src/ld65/memarea.h +++ b/src/ld65/memarea.h @@ -99,8 +99,3 @@ MemoryArea* NewMemoryArea (const FilePos* Pos, unsigned Name); /* End of memarea.h */ #endif - - - - - diff --git a/src/ld65/o65.c b/src/ld65/o65.c index 7373c23c7..ad793b48b 100644 --- a/src/ld65/o65.c +++ b/src/ld65/o65.c @@ -1424,7 +1424,3 @@ void O65WriteTarget (O65Desc* D, File* F) D->F = 0; D->Filename = 0; } - - - - diff --git a/src/ld65/o65.h b/src/ld65/o65.h index 7de0832a8..2112537ff 100644 --- a/src/ld65/o65.h +++ b/src/ld65/o65.h @@ -124,6 +124,3 @@ void O65WriteTarget (O65Desc* D, File* F); /* End of o65.h */ #endif - - - diff --git a/src/ld65/objdata.c b/src/ld65/objdata.c index 1bdef6bd7..222615c4c 100644 --- a/src/ld65/objdata.c +++ b/src/ld65/objdata.c @@ -309,7 +309,3 @@ void PrintDbgModules (FILE* F) } } - - - - diff --git a/src/ld65/objdata.h b/src/ld65/objdata.h index 4c477eee0..b17248b4c 100644 --- a/src/ld65/objdata.h +++ b/src/ld65/objdata.h @@ -175,8 +175,3 @@ void PrintDbgModules (FILE* F); /* End of objdata.h */ #endif - - - - - diff --git a/src/ld65/objfile.c b/src/ld65/objfile.c index 7b8dc4419..ac5e76a7c 100644 --- a/src/ld65/objfile.c +++ b/src/ld65/objfile.c @@ -372,7 +372,3 @@ void ObjAdd (FILE* Obj, const char* Name) */ FreeObjStrings (O); } - - - - diff --git a/src/ld65/objfile.h b/src/ld65/objfile.h index e982f90b5..4683638c7 100644 --- a/src/ld65/objfile.h +++ b/src/ld65/objfile.h @@ -92,6 +92,3 @@ void ObjAdd (FILE* F, const char* Name); /* End of objfile.h */ #endif - - - diff --git a/src/ld65/scanner.c b/src/ld65/scanner.c index b6d45354a..0f6ea58de 100644 --- a/src/ld65/scanner.c +++ b/src/ld65/scanner.c @@ -580,6 +580,3 @@ void CfgCloseInput (void) InputFile = 0; } } - - - diff --git a/src/ld65/scanner.h b/src/ld65/scanner.h index 9e27b6720..0f9a97c69 100644 --- a/src/ld65/scanner.h +++ b/src/ld65/scanner.h @@ -239,7 +239,5 @@ void CfgCloseInput (void); /* End of scanner.h */ -#endif - - +#endif diff --git a/src/ld65/scopes.c b/src/ld65/scopes.c index b3acc0d7d..edf0d0da2 100644 --- a/src/ld65/scopes.c +++ b/src/ld65/scopes.c @@ -171,6 +171,3 @@ void PrintDbgScopes (FILE* F) } } } - - - diff --git a/src/ld65/scopes.h b/src/ld65/scopes.h index 142dc16bb..67d70148b 100644 --- a/src/ld65/scopes.h +++ b/src/ld65/scopes.h @@ -92,6 +92,3 @@ void PrintDbgScopes (FILE* F); /* End of scopes.h */ #endif - - - diff --git a/src/ld65/segments.c b/src/ld65/segments.c index e42a40d22..829435e4c 100644 --- a/src/ld65/segments.c +++ b/src/ld65/segments.c @@ -662,6 +662,3 @@ void CheckSegments (void) } } } - - - diff --git a/src/ld65/segments.h b/src/ld65/segments.h index 67006bcc1..5362c8744 100644 --- a/src/ld65/segments.h +++ b/src/ld65/segments.h @@ -168,7 +168,3 @@ void CheckSegments (void); /* End of segments.h */ #endif - - - - diff --git a/src/ld65/span.c b/src/ld65/span.c index 1b3f35e06..9ff1a8ec8 100644 --- a/src/ld65/span.c +++ b/src/ld65/span.c @@ -245,6 +245,3 @@ void PrintDbgSpans (FILE* F) /* Free the string buffer */ SB_Done (&SpanType); } - - - diff --git a/src/ld65/span.h b/src/ld65/span.h index 6e549189b..ccdc6799d 100644 --- a/src/ld65/span.h +++ b/src/ld65/span.h @@ -103,7 +103,5 @@ void PrintDbgSpans (FILE* F); /* End of span.h */ -#endif - - +#endif diff --git a/src/ld65/spool.c b/src/ld65/spool.c index b3173eb17..fdd2f1c67 100644 --- a/src/ld65/spool.c +++ b/src/ld65/spool.c @@ -65,7 +65,3 @@ void InitStrPool (void) */ SP_AddStr (StrPool, ""); } - - - - diff --git a/src/ld65/spool.h b/src/ld65/spool.h index bd5a7a627..e376c5fe1 100644 --- a/src/ld65/spool.h +++ b/src/ld65/spool.h @@ -111,7 +111,3 @@ void InitStrPool (void); /* End of spool.h */ #endif - - - - diff --git a/src/ld65/tpool.c b/src/ld65/tpool.c index f943fa704..e6006e4e1 100644 --- a/src/ld65/tpool.c +++ b/src/ld65/tpool.c @@ -88,6 +88,3 @@ void InitTypePool (void) /* Allocate a type pool */ TypePool = NewStringPool (137); } - - - diff --git a/src/ld65/tpool.h b/src/ld65/tpool.h index d2a8510d9..c05408711 100644 --- a/src/ld65/tpool.h +++ b/src/ld65/tpool.h @@ -106,7 +106,3 @@ void InitTypePool (void); /* End of tpool.h */ #endif - - - - diff --git a/src/od65/dump.c b/src/od65/dump.c index ffca41907..c02f9a84f 100644 --- a/src/od65/dump.c +++ b/src/od65/dump.c @@ -951,7 +951,3 @@ void DumpObjSegSize (FILE* F, unsigned long Offset) /* Destroy the string pool */ DestroyStrPool (&StrPool); } - - - - diff --git a/src/od65/dump.h b/src/od65/dump.h index eafb86a3c..5371b7bdb 100644 --- a/src/od65/dump.h +++ b/src/od65/dump.h @@ -83,7 +83,3 @@ void DumpObjSegSize (FILE* F, unsigned long Offset); /* End of dump.h */ #endif - - - - diff --git a/src/od65/error.c b/src/od65/error.c index 2b5827571..364f52266 100644 --- a/src/od65/error.c +++ b/src/od65/error.c @@ -85,6 +85,3 @@ void Internal (const char* Format, ...) va_end (ap); exit (EXIT_FAILURE); } - - - diff --git a/src/od65/error.h b/src/od65/error.h index 16eabdb0e..8e1469a34 100644 --- a/src/od65/error.h +++ b/src/od65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/od65/fileio.c b/src/od65/fileio.c index 9ddab17af..cc27b88ac 100644 --- a/src/od65/fileio.c +++ b/src/od65/fileio.c @@ -246,6 +246,3 @@ void ReadStrPool (FILE* F, Collection* C) CollAppend (C, ReadStr (F)); } } - - - diff --git a/src/od65/fileio.h b/src/od65/fileio.h index cf05a7dad..068c4d9a3 100644 --- a/src/od65/fileio.h +++ b/src/od65/fileio.h @@ -97,6 +97,3 @@ void ReadStrPool (FILE* F, Collection* C); /* End of fileio.h */ #endif - - - diff --git a/src/od65/global.c b/src/od65/global.c index eb6555154..bb56ceecf 100644 --- a/src/od65/global.c +++ b/src/od65/global.c @@ -44,6 +44,3 @@ unsigned What = 0; /* What should get dumped? */ - - - diff --git a/src/od65/global.h b/src/od65/global.h index 624fe2a84..22054d3f6 100644 --- a/src/od65/global.h +++ b/src/od65/global.h @@ -65,6 +65,3 @@ extern unsigned What; /* What should get dumped? */ /* End of global.h */ #endif - - - diff --git a/src/od65/main.c b/src/od65/main.c index aa0e6f86d..802290ffd 100644 --- a/src/od65/main.c +++ b/src/od65/main.c @@ -361,6 +361,3 @@ int main (int argc, char* argv []) /* Success */ return EXIT_SUCCESS; } - - - diff --git a/src/sim65/error.c b/src/sim65/error.c index 378403e55..3114951af 100644 --- a/src/sim65/error.c +++ b/src/sim65/error.c @@ -85,6 +85,3 @@ void Internal (const char* Format, ...) va_end (ap); exit (EXIT_FAILURE); } - - - diff --git a/src/sim65/error.h b/src/sim65/error.h index 507294b90..7bee4954c 100644 --- a/src/sim65/error.h +++ b/src/sim65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/sim65/memory.h b/src/sim65/memory.h index 5e234c561..06da818de 100644 --- a/src/sim65/memory.h +++ b/src/sim65/memory.h @@ -67,7 +67,3 @@ void MemInit (void); /* End of memory.h */ #endif - - - - diff --git a/src/sp65/asm.c b/src/sp65/asm.c index c397d33d6..8f520cb9e 100644 --- a/src/sp65/asm.c +++ b/src/sp65/asm.c @@ -238,6 +238,3 @@ void WriteAsmFile (const StrBuf* Data, const Collection* A, const Bitmap* B) Error ("Error closing output file `%s': %s", Name, strerror (errno)); } } - - - diff --git a/src/sp65/asm.h b/src/sp65/asm.h index 06d16802e..18c55e8b5 100644 --- a/src/sp65/asm.h +++ b/src/sp65/asm.h @@ -61,6 +61,3 @@ void WriteAsmFile (const StrBuf* Data, const Collection* A, const Bitmap* B); /* End of asm.h */ #endif - - - diff --git a/src/sp65/attr.c b/src/sp65/attr.c index 8f0ddeaed..5de17ee26 100644 --- a/src/sp65/attr.c +++ b/src/sp65/attr.c @@ -304,6 +304,3 @@ void FreeAttrList (Collection* C) /* Free the collection itself */ FreeCollection (C); } - - - diff --git a/src/sp65/attr.h b/src/sp65/attr.h index 9a4f834fb..2658aa077 100644 --- a/src/sp65/attr.h +++ b/src/sp65/attr.h @@ -126,6 +126,3 @@ void FreeAttrList (Collection* C); /* End of attr.h */ #endif - - - diff --git a/src/sp65/bin.c b/src/sp65/bin.c index fddb8320f..48768b466 100644 --- a/src/sp65/bin.c +++ b/src/sp65/bin.c @@ -83,6 +83,3 @@ void WriteBinFile (const StrBuf* Data, const Collection* A, Error ("Error closing output file `%s': %s", Name, strerror (errno)); } } - - - diff --git a/src/sp65/bin.h b/src/sp65/bin.h index 476ae9a16..4a32a0a98 100644 --- a/src/sp65/bin.h +++ b/src/sp65/bin.h @@ -61,6 +61,3 @@ void WriteBinFile (const StrBuf* Data, const Collection* A, const Bitmap* B); /* End of bin.h */ #endif - - - diff --git a/src/sp65/bitmap.c b/src/sp65/bitmap.c index b6270d246..b67e329df 100644 --- a/src/sp65/bitmap.c +++ b/src/sp65/bitmap.c @@ -175,6 +175,3 @@ Pixel GetPixel (const Bitmap* B, unsigned X, unsigned Y) /* Return the pixel */ return B->Data[Y * B->Width + X]; } - - - diff --git a/src/sp65/bitmap.h b/src/sp65/bitmap.h index f5423f67f..e63a7570c 100644 --- a/src/sp65/bitmap.h +++ b/src/sp65/bitmap.h @@ -184,6 +184,3 @@ INLINE unsigned GetBitmapColors (const Bitmap* B) /* End of bitmap.h */ #endif - - - diff --git a/src/sp65/c.c b/src/sp65/c.c index 537333b67..0f86bec53 100644 --- a/src/sp65/c.c +++ b/src/sp65/c.c @@ -223,6 +223,3 @@ void WriteCFile (const StrBuf* Data, const Collection* A, const Bitmap* B) Error ("Error closing output file `%s': %s", Name, strerror (errno)); } } - - - diff --git a/src/sp65/c.h b/src/sp65/c.h index 8cf763144..113d0dee1 100644 --- a/src/sp65/c.h +++ b/src/sp65/c.h @@ -61,6 +61,3 @@ void WriteCFile (const StrBuf* Data, const Collection* A, const Bitmap* B); /* End of c.h */ #endif - - - diff --git a/src/sp65/color.c b/src/sp65/color.c index e1abd79be..0180865c6 100644 --- a/src/sp65/color.c +++ b/src/sp65/color.c @@ -64,6 +64,3 @@ Color RGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A) } #endif - - - diff --git a/src/sp65/color.h b/src/sp65/color.h index 3646837f5..31688bff4 100644 --- a/src/sp65/color.h +++ b/src/sp65/color.h @@ -94,6 +94,3 @@ Color RGBA (unsigned char R, unsigned char G, unsigned char B, unsigned char A); /* End of color.h */ #endif - - - diff --git a/src/sp65/convert.c b/src/sp65/convert.c index f5022246c..25e453eb7 100644 --- a/src/sp65/convert.c +++ b/src/sp65/convert.c @@ -123,4 +123,3 @@ void ListConversionTargets (FILE* F) fprintf (F, " %s\n", ConverterMap[I].Format); } } - diff --git a/src/sp65/convert.h b/src/sp65/convert.h index b0bc51ba8..4e6f7b9f6 100644 --- a/src/sp65/convert.h +++ b/src/sp65/convert.h @@ -70,6 +70,3 @@ void ListConversionTargets (FILE* F); /* End of convert.h */ #endif - - - diff --git a/src/sp65/error.c b/src/sp65/error.c index 70bc5bdb3..7a29cb551 100644 --- a/src/sp65/error.c +++ b/src/sp65/error.c @@ -85,6 +85,3 @@ void Internal (const char* Format, ...) va_end (ap); exit (EXIT_FAILURE); } - - - diff --git a/src/sp65/error.h b/src/sp65/error.h index 7643cefa9..41ee83b1b 100644 --- a/src/sp65/error.h +++ b/src/sp65/error.h @@ -63,6 +63,3 @@ void Internal (const char* Format, ...) attribute((noreturn, format(printf,1,2)) /* End of error.h */ #endif - - - diff --git a/src/sp65/fileio.c b/src/sp65/fileio.c index a43b7eb26..074a7b534 100644 --- a/src/sp65/fileio.c +++ b/src/sp65/fileio.c @@ -123,6 +123,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size) } return Data; } - - - diff --git a/src/sp65/fileio.h b/src/sp65/fileio.h index de2cdd2ce..c17647d33 100644 --- a/src/sp65/fileio.h +++ b/src/sp65/fileio.h @@ -72,6 +72,3 @@ void* ReadData (FILE* F, void* Data, unsigned Size); /* End of fileio.h */ #endif - - - diff --git a/src/sp65/geosbitmap.c b/src/sp65/geosbitmap.c index f5770f720..05984cbdf 100644 --- a/src/sp65/geosbitmap.c +++ b/src/sp65/geosbitmap.c @@ -229,6 +229,3 @@ StrBuf* GenGeosBitmap (const Bitmap* B, const Collection* A attribute ((unused)) /* Return the converted bitmap */ return D; } - - - diff --git a/src/sp65/geosicon.c b/src/sp65/geosicon.c index 52a8945ee..a735c89fe 100644 --- a/src/sp65/geosicon.c +++ b/src/sp65/geosicon.c @@ -108,6 +108,3 @@ StrBuf* GenGeosIcon (const Bitmap* B, const Collection* A attribute ((unused))) /* Return the converted bitmap */ return D; } - - - diff --git a/src/sp65/geosicon.h b/src/sp65/geosicon.h index 3a54b70cc..8b1351db7 100644 --- a/src/sp65/geosicon.h +++ b/src/sp65/geosicon.h @@ -64,6 +64,3 @@ StrBuf* GenGeosIcon (const Bitmap* B, const Collection* A); /* End of geosicon.h */ #endif - - - diff --git a/src/sp65/input.c b/src/sp65/input.c index 85807752f..37514886d 100644 --- a/src/sp65/input.c +++ b/src/sp65/input.c @@ -119,6 +119,3 @@ Bitmap* ReadInputFile (const Collection* A) /* Call the format specific read */ return InputFormatTable[F->Id].Read (A); } - - - diff --git a/src/sp65/input.h b/src/sp65/input.h index cfbc6f63c..f4f4c6ea3 100644 --- a/src/sp65/input.h +++ b/src/sp65/input.h @@ -63,6 +63,3 @@ Bitmap* ReadInputFile (const Collection* A); /* End of input.h */ #endif - - - diff --git a/src/sp65/koala.c b/src/sp65/koala.c index d66969348..3f0875e81 100644 --- a/src/sp65/koala.c +++ b/src/sp65/koala.c @@ -101,6 +101,3 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A attribute ((unused))) /* Return the converted bitmap */ return D; } - - - diff --git a/src/sp65/koala.h b/src/sp65/koala.h index 57ea86ad5..b2bd35375 100644 --- a/src/sp65/koala.h +++ b/src/sp65/koala.h @@ -64,6 +64,3 @@ StrBuf* GenKoala (const Bitmap* B, const Collection* A); /* End of koala.h */ #endif - - - diff --git a/src/sp65/lynxsprite.c b/src/sp65/lynxsprite.c index 99d7a1bc1..2cce35ff3 100644 --- a/src/sp65/lynxsprite.c +++ b/src/sp65/lynxsprite.c @@ -552,6 +552,3 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A) /* Return the converted bitmap */ return D; } - - - diff --git a/src/sp65/lynxsprite.h b/src/sp65/lynxsprite.h index c5611e036..1d6f998f5 100644 --- a/src/sp65/lynxsprite.h +++ b/src/sp65/lynxsprite.h @@ -64,6 +64,3 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A); /* End of lynxsprite.h */ #endif - - - diff --git a/src/sp65/main.c b/src/sp65/main.c index 92cd71114..98049e891 100644 --- a/src/sp65/main.c +++ b/src/sp65/main.c @@ -405,6 +405,3 @@ int main (int argc, char* argv []) /* Success */ return EXIT_SUCCESS; } - - - diff --git a/src/sp65/output.c b/src/sp65/output.c index ac6f3db92..e4c2dd4c7 100644 --- a/src/sp65/output.c +++ b/src/sp65/output.c @@ -140,6 +140,3 @@ void WriteOutputFile (const StrBuf* Data, const Collection* A, const Bitmap* B) /* Call the format specific write */ OutputFormatTable[F->Id].Write (Data, A, B); } - - - diff --git a/src/sp65/output.h b/src/sp65/output.h index 6d3b4c16b..9956c31aa 100644 --- a/src/sp65/output.h +++ b/src/sp65/output.h @@ -65,6 +65,3 @@ void WriteOutputFile (const StrBuf* Data, const Collection* A, const Bitmap* B); /* End of output.h */ #endif - - - diff --git a/src/sp65/palette.c b/src/sp65/palette.c index b407b365c..333843af0 100644 --- a/src/sp65/palette.c +++ b/src/sp65/palette.c @@ -138,6 +138,3 @@ void DumpPalette (FILE* F, const Palette* P) (((unsigned long) C->R) << 0)); } } - - - diff --git a/src/sp65/palette.h b/src/sp65/palette.h index d7180e0f0..61eb6519d 100644 --- a/src/sp65/palette.h +++ b/src/sp65/palette.h @@ -85,6 +85,3 @@ void DumpPalette (FILE* F, const Palette* P); /* End of palette.h */ #endif - - - diff --git a/src/sp65/pcx.c b/src/sp65/pcx.c index 51767c931..a1d16b7ea 100644 --- a/src/sp65/pcx.c +++ b/src/sp65/pcx.c @@ -440,6 +440,3 @@ Bitmap* ReadPCXFile (const Collection* A) /* Return the bitmap */ return B; } - - - diff --git a/src/sp65/pcx.h b/src/sp65/pcx.h index c288a2514..038a947ba 100644 --- a/src/sp65/pcx.h +++ b/src/sp65/pcx.h @@ -60,6 +60,3 @@ Bitmap* ReadPCXFile (const Collection* A); /* End of pcx.h */ #endif - - - diff --git a/src/sp65/pixel.h b/src/sp65/pixel.h index f313ff302..3684b5530 100644 --- a/src/sp65/pixel.h +++ b/src/sp65/pixel.h @@ -67,6 +67,3 @@ union Pixel { /* End of pixel.h */ #endif - - - diff --git a/src/sp65/raw.c b/src/sp65/raw.c index 871200652..ff233596b 100644 --- a/src/sp65/raw.c +++ b/src/sp65/raw.c @@ -84,6 +84,3 @@ StrBuf* GenRaw (const Bitmap* B, const Collection* A attribute ((unused))) /* Return the converted bitmap */ return D; } - - - diff --git a/src/sp65/raw.h b/src/sp65/raw.h index d4c44f7ea..ffc3a6649 100644 --- a/src/sp65/raw.h +++ b/src/sp65/raw.h @@ -61,7 +61,5 @@ StrBuf* GenRaw (const Bitmap* B, const Collection* A); /* End of raw.h */ -#endif - - +#endif diff --git a/src/sp65/vic2sprite.c b/src/sp65/vic2sprite.c index d32a9cc66..a9139d0a1 100644 --- a/src/sp65/vic2sprite.c +++ b/src/sp65/vic2sprite.c @@ -177,6 +177,3 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A) /* Return the converted bitmap */ return D; } - - - diff --git a/src/sp65/vic2sprite.h b/src/sp65/vic2sprite.h index 8b1407e64..f7c9a9d05 100644 --- a/src/sp65/vic2sprite.h +++ b/src/sp65/vic2sprite.h @@ -64,6 +64,3 @@ StrBuf* GenVic2Sprite (const Bitmap* B, const Collection* A); /* End of vic2sprite.h */ #endif - - - -- 2.39.5