]> granicus.if.org Git - yasm/commitdiff
Use ANSI C compliant #ifndef wrappers (_A_H_ -> YASM_A_H).
authorPeter Johnson <peter@tortall.net>
Thu, 28 Jun 2001 21:22:01 +0000 (21:22 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 28 Jun 2001 21:22:01 +0000 (21:22 -0000)
svn path=/trunk/yasm/; revision=64

20 files changed:
include/bytecode.h
include/errwarn.h
include/globals.h
include/section.h
include/symrec.h
include/util.h
libyasm/bytecode.h
libyasm/errwarn.h
libyasm/linemgr.h
libyasm/section.h
libyasm/symrec.h
libyasm/util.h
src/bytecode.h
src/errwarn.h
src/globals.h
src/linemgr.h
src/section.h
src/symrec.h
src/util.h
util.h

index 3062e4e3059968cd288b3e1e066a13d037327442..d17ec0a6f4e89f23889f4cdccfc59643861151c7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: bytecode.h,v 1.7 2001/05/30 07:41:03 peter Exp $
+/* $Id: bytecode.h,v 1.8 2001/06/28 21:22:01 peter Exp $
  * Bytecode utility functions header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _BYTECODE_H_
-#define _BYTECODE_H_
+#ifndef YASM_BYTECODE_H
+#define YASM_BYTECODE_H
 
 typedef struct effaddr_s {
     unsigned long disp;                /* address displacement */
index c17599d329f8d69045b7e336f4b4aa34b0fc3bcc..0d8d3c8f53a193d625c992cf457a43e727862446 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: errwarn.h,v 1.6 2001/06/13 05:56:06 mu Exp $
+/* $Id: errwarn.h,v 1.7 2001/06/28 21:22:01 peter Exp $
  * Error and warning reporting and related functions header file.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _ERRWARN_H_
-#define _ERRWARN_H_
+#ifndef YASM_ERRWARN_H
+#define YASM_ERRWARN_H
 
 char *conv_unprint(char ch);
 
index 8e183374ab50d6573883935423adef1bfc67427a..a5fe788f28b4b36d27d29101611308b1560820b1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: globals.h,v 1.2 2001/06/13 05:43:59 mu Exp $
+/* $Id: globals.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Globals header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _GLOBALS_H_
-#define _GLOBALS_H_
+#ifndef YASM_GLOBALS_H
+#define YASM_GLOBALS_H
 
 extern unsigned int line_number;
 extern unsigned int mode_bits;
index 41bbf5a3a2249432c0db6f9218709fcdc9bd4b9c..cf6e057d21a69d33dab43a2cb59bf8f74f5acb67 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: section.h,v 1.1 2001/05/15 05:28:44 peter Exp $
+/* $Id: section.h,v 1.2 2001/06/28 21:22:01 peter Exp $
  * Section header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _SECTION_H_
-#define _SECTION_H_
+#ifndef YASM_SECTION_H
+#define YASM_SECTION_H
 
 typedef struct section_s {
     struct section_s *next;
index 525c4bd5824c57c2dd043cabad7160fac214d618..7b4ac9300df37e005381cddac44e8e6edc857d1e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: symrec.h,v 1.3 2001/06/13 05:43:59 mu Exp $
+/* $Id: symrec.h,v 1.4 2001/06/28 21:22:01 peter Exp $
  * Symbol table handling header file
  *
  *  Copyright (C) 2001  Michael Urman
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _SYMREC_H_
-#define _SYMREC_H_
+#ifndef YASM_SYMREC_H
+#define YASM_SYMREC_H
 
 typedef enum {
     SYM_NOSTATUS = 0,
index df5fe7f4b9fc01efe4a383d479d7f26e0d85800a..448e7c14975744c4dc49b4728c6065444e987692 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.2 2001/06/28 08:48:32 peter Exp $
+/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef YASM_UTIL_H
+#define YASM_UTIL_H
 
 #ifndef HAVE_STRDUP
 char *strdup(const char *str);
index 3062e4e3059968cd288b3e1e066a13d037327442..d17ec0a6f4e89f23889f4cdccfc59643861151c7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: bytecode.h,v 1.7 2001/05/30 07:41:03 peter Exp $
+/* $Id: bytecode.h,v 1.8 2001/06/28 21:22:01 peter Exp $
  * Bytecode utility functions header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _BYTECODE_H_
-#define _BYTECODE_H_
+#ifndef YASM_BYTECODE_H
+#define YASM_BYTECODE_H
 
 typedef struct effaddr_s {
     unsigned long disp;                /* address displacement */
index c17599d329f8d69045b7e336f4b4aa34b0fc3bcc..0d8d3c8f53a193d625c992cf457a43e727862446 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: errwarn.h,v 1.6 2001/06/13 05:56:06 mu Exp $
+/* $Id: errwarn.h,v 1.7 2001/06/28 21:22:01 peter Exp $
  * Error and warning reporting and related functions header file.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _ERRWARN_H_
-#define _ERRWARN_H_
+#ifndef YASM_ERRWARN_H
+#define YASM_ERRWARN_H
 
 char *conv_unprint(char ch);
 
index 81208ecb967227db95705e57b0f2c8949baa6abd..30153d4f3b39cf4516bf9eb0ab8a0868d658eb8b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: linemgr.h,v 1.2 2001/06/13 05:43:59 mu Exp $
+/* $Id: linemgr.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Globals header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _GLOBALS_H_
-#define _GLOBALS_H_
+#ifndef YASM_GLOBALS_H
+#define YASM_GLOBALS_H
 
 extern unsigned int line_number;
 extern unsigned int mode_bits;
index 41bbf5a3a2249432c0db6f9218709fcdc9bd4b9c..cf6e057d21a69d33dab43a2cb59bf8f74f5acb67 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: section.h,v 1.1 2001/05/15 05:28:44 peter Exp $
+/* $Id: section.h,v 1.2 2001/06/28 21:22:01 peter Exp $
  * Section header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _SECTION_H_
-#define _SECTION_H_
+#ifndef YASM_SECTION_H
+#define YASM_SECTION_H
 
 typedef struct section_s {
     struct section_s *next;
index 525c4bd5824c57c2dd043cabad7160fac214d618..7b4ac9300df37e005381cddac44e8e6edc857d1e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: symrec.h,v 1.3 2001/06/13 05:43:59 mu Exp $
+/* $Id: symrec.h,v 1.4 2001/06/28 21:22:01 peter Exp $
  * Symbol table handling header file
  *
  *  Copyright (C) 2001  Michael Urman
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _SYMREC_H_
-#define _SYMREC_H_
+#ifndef YASM_SYMREC_H
+#define YASM_SYMREC_H
 
 typedef enum {
     SYM_NOSTATUS = 0,
index df5fe7f4b9fc01efe4a383d479d7f26e0d85800a..448e7c14975744c4dc49b4728c6065444e987692 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.2 2001/06/28 08:48:32 peter Exp $
+/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef YASM_UTIL_H
+#define YASM_UTIL_H
 
 #ifndef HAVE_STRDUP
 char *strdup(const char *str);
index 3062e4e3059968cd288b3e1e066a13d037327442..d17ec0a6f4e89f23889f4cdccfc59643861151c7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: bytecode.h,v 1.7 2001/05/30 07:41:03 peter Exp $
+/* $Id: bytecode.h,v 1.8 2001/06/28 21:22:01 peter Exp $
  * Bytecode utility functions header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _BYTECODE_H_
-#define _BYTECODE_H_
+#ifndef YASM_BYTECODE_H
+#define YASM_BYTECODE_H
 
 typedef struct effaddr_s {
     unsigned long disp;                /* address displacement */
index c17599d329f8d69045b7e336f4b4aa34b0fc3bcc..0d8d3c8f53a193d625c992cf457a43e727862446 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: errwarn.h,v 1.6 2001/06/13 05:56:06 mu Exp $
+/* $Id: errwarn.h,v 1.7 2001/06/28 21:22:01 peter Exp $
  * Error and warning reporting and related functions header file.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _ERRWARN_H_
-#define _ERRWARN_H_
+#ifndef YASM_ERRWARN_H
+#define YASM_ERRWARN_H
 
 char *conv_unprint(char ch);
 
index 8e183374ab50d6573883935423adef1bfc67427a..a5fe788f28b4b36d27d29101611308b1560820b1 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: globals.h,v 1.2 2001/06/13 05:43:59 mu Exp $
+/* $Id: globals.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Globals header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _GLOBALS_H_
-#define _GLOBALS_H_
+#ifndef YASM_GLOBALS_H
+#define YASM_GLOBALS_H
 
 extern unsigned int line_number;
 extern unsigned int mode_bits;
index 81208ecb967227db95705e57b0f2c8949baa6abd..30153d4f3b39cf4516bf9eb0ab8a0868d658eb8b 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: linemgr.h,v 1.2 2001/06/13 05:43:59 mu Exp $
+/* $Id: linemgr.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Globals header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _GLOBALS_H_
-#define _GLOBALS_H_
+#ifndef YASM_GLOBALS_H
+#define YASM_GLOBALS_H
 
 extern unsigned int line_number;
 extern unsigned int mode_bits;
index 41bbf5a3a2249432c0db6f9218709fcdc9bd4b9c..cf6e057d21a69d33dab43a2cb59bf8f74f5acb67 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: section.h,v 1.1 2001/05/15 05:28:44 peter Exp $
+/* $Id: section.h,v 1.2 2001/06/28 21:22:01 peter Exp $
  * Section header file
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _SECTION_H_
-#define _SECTION_H_
+#ifndef YASM_SECTION_H
+#define YASM_SECTION_H
 
 typedef struct section_s {
     struct section_s *next;
index 525c4bd5824c57c2dd043cabad7160fac214d618..7b4ac9300df37e005381cddac44e8e6edc857d1e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: symrec.h,v 1.3 2001/06/13 05:43:59 mu Exp $
+/* $Id: symrec.h,v 1.4 2001/06/28 21:22:01 peter Exp $
  * Symbol table handling header file
  *
  *  Copyright (C) 2001  Michael Urman
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _SYMREC_H_
-#define _SYMREC_H_
+#ifndef YASM_SYMREC_H
+#define YASM_SYMREC_H
 
 typedef enum {
     SYM_NOSTATUS = 0,
index df5fe7f4b9fc01efe4a383d479d7f26e0d85800a..448e7c14975744c4dc49b4728c6065444e987692 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.2 2001/06/28 08:48:32 peter Exp $
+/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef YASM_UTIL_H
+#define YASM_UTIL_H
 
 #ifndef HAVE_STRDUP
 char *strdup(const char *str);
diff --git a/util.h b/util.h
index df5fe7f4b9fc01efe4a383d479d7f26e0d85800a..448e7c14975744c4dc49b4728c6065444e987692 100644 (file)
--- a/util.h
+++ b/util.h
@@ -1,4 +1,4 @@
-/* $Id: util.h,v 1.2 2001/06/28 08:48:32 peter Exp $
+/* $Id: util.h,v 1.3 2001/06/28 21:22:01 peter Exp $
  * Defines prototypes for replacement functions if needed.
  *
  *  Copyright (C) 2001  Peter Johnson
@@ -19,8 +19,8 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
-#ifndef _UTIL_H_
-#define _UTIL_H_
+#ifndef YASM_UTIL_H
+#define YASM_UTIL_H
 
 #ifndef HAVE_STRDUP
 char *strdup(const char *str);