diff structures.h @ 14:84c0facfc43c

Merge changes from upstream v0.1.4.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 14 Oct 2021 01:38:52 +0300
parents fe4d840c13eb
children 89183953bddc
line wrap: on
line diff
--- a/structures.h	Fri Oct 08 02:40:00 2021 +0300
+++ b/structures.h	Thu Oct 14 01:38:52 2021 +0300
@@ -1,7 +1,8 @@
 /*\
- *  dxa v0.1.1 -- symbolic 65xx disassembler
+ *  dxa -- symbolic 65xx disassembler
  *
  *  Copyright (C) 1993, 1994 Marko M\"akel\"a
+ *  Copyright (C) 2006-2019 Cameron Kaiser
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -17,16 +18,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- *  Contacting the author:
- *
- *   Via Internet E-mail:
- *      <Marko.Makela@FTP.FUNET.FI>
- *
- *   Via Snail Mail:
- *      Marko M\"akel\"a
- *      Sillitie 10 A
- *      FIN-01480 VANTAA
- *      Finland
 \*/
 
 /* structures.h - memory structures and related constants and macros */
@@ -124,6 +115,9 @@
 
 static inline void DOPutLabel(unsigned int address, const char *name, const int line)
 {
+  (void) name;
+  (void) line;
+
   MemLabel[((ADDR_T)address) / (8 * sizeof *MemLabel)] |= (1 << (address % (8 * sizeof *MemLabel)));
 }
 
@@ -135,6 +129,9 @@
 
 static inline void DOPutReference(unsigned int address, const char *name, const int line)
 {
+  (void) name;
+  (void) line;
+
   MemReferenced[address]++;
 }
 
@@ -245,12 +242,13 @@
 
 #ifndef _MAIN_C_
 extern char *prog;
-extern ADDR_T StartAddress, EndAddress;
+extern ADDR_T StartAddress, EndAddress, BasicHeaderLength;
 extern int fVerbose;
 #else
 char *prog;
 ADDR_T StartAddress, EndAddress;
 int fVerbose = FALSE;
+ADDR_T BasicHeaderLength = 0;
 #endif /* _MAIN_C_ */
 
 #ifndef _TABLE_C_