]> granicus.if.org Git - yasm/commitdiff
Make name and keyword const.
authorPeter Johnson <peter@tortall.net>
Sun, 23 Sep 2001 19:26:31 +0000 (19:26 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 23 Sep 2001 19:26:31 +0000 (19:26 -0000)
svn path=/trunk/yasm/; revision=211

libyasm/objfmt.h
libyasm/optimizer.h
libyasm/parser.h
libyasm/preproc.h
src/objfmt.h
src/optimizer.h
src/parser.h
src/preproc.h

index 1b085063656b89dca631e829b01feac2ef541319..cd584de34b96e3f13f4c32257829c7ee1eb95a45 100644 (file)
 /* Interface to the object format module(s) */
 typedef struct objfmt_s {
     /* one-line description of the format */
-    char *name;
+    const char *name;
 
     /* keyword used to select format on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* default (starting) section name */
     const char *default_section_name;
index d039130b3eb6b3a083daec38e9830da6dccca887..4b7e9d0fe6ae8d49d457d3b303cdf3f3a077ab0a 100644 (file)
 /* Interface to the optimizer module(s) */
 typedef struct optimizer_s {
     /* one-line description of the optimizer */
-    char *name;
+    const char *name;
 
     /* keyword used to select optimizer on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* Main entrance point for the optimizer.
      *
index e021bdc2c16d1575d7817b31057f514b0b0fd926..b66d317b2f41cca24694bd2d9942f2d71224eb7b 100644 (file)
 /* Interface to the parser module(s) -- the "front end" of the assembler */
 typedef struct parser_s {
     /* one-line description of the parser */
-    char *name;
+    const char *name;
 
     /* keyword used to select parser on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* NULL-terminated list of preprocessors that are valid to use with this
      * parser.  The raw preprocessor (raw_preproc) should always be in this
index 9da830bea3f823f54abc4d703c34f9b62e149997..760afc94d662726e0703d3ffee56d536a28327cc 100644 (file)
 /* Interface to the preprocesor module(s) */
 typedef struct preproc_s {
     /* one-line description of the preprocessor */
-    char *name;
+    const char *name;
 
     /* keyword used to select preprocessor on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* Initializes preprocessor.
      *
index 1b085063656b89dca631e829b01feac2ef541319..cd584de34b96e3f13f4c32257829c7ee1eb95a45 100644 (file)
 /* Interface to the object format module(s) */
 typedef struct objfmt_s {
     /* one-line description of the format */
-    char *name;
+    const char *name;
 
     /* keyword used to select format on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* default (starting) section name */
     const char *default_section_name;
index d039130b3eb6b3a083daec38e9830da6dccca887..4b7e9d0fe6ae8d49d457d3b303cdf3f3a077ab0a 100644 (file)
 /* Interface to the optimizer module(s) */
 typedef struct optimizer_s {
     /* one-line description of the optimizer */
-    char *name;
+    const char *name;
 
     /* keyword used to select optimizer on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* Main entrance point for the optimizer.
      *
index e021bdc2c16d1575d7817b31057f514b0b0fd926..b66d317b2f41cca24694bd2d9942f2d71224eb7b 100644 (file)
 /* Interface to the parser module(s) -- the "front end" of the assembler */
 typedef struct parser_s {
     /* one-line description of the parser */
-    char *name;
+    const char *name;
 
     /* keyword used to select parser on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* NULL-terminated list of preprocessors that are valid to use with this
      * parser.  The raw preprocessor (raw_preproc) should always be in this
index 9da830bea3f823f54abc4d703c34f9b62e149997..760afc94d662726e0703d3ffee56d536a28327cc 100644 (file)
 /* Interface to the preprocesor module(s) */
 typedef struct preproc_s {
     /* one-line description of the preprocessor */
-    char *name;
+    const char *name;
 
     /* keyword used to select preprocessor on the command line */
-    char *keyword;
+    const char *keyword;
 
     /* Initializes preprocessor.
      *