Make name and keyword const.

svn path=/trunk/yasm/; revision=211
0.3
Peter Johnson 24 years ago
parent ac22f77d42
commit b3f0a1c6b8
  1. 4
      libyasm/objfmt.h
  2. 4
      libyasm/optimizer.h
  3. 4
      libyasm/parser.h
  4. 4
      libyasm/preproc.h
  5. 4
      src/objfmt.h
  6. 4
      src/optimizer.h
  7. 4
      src/parser.h
  8. 4
      src/preproc.h

@ -25,10 +25,10 @@
/* 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;

@ -25,10 +25,10 @@
/* 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.
*

@ -25,10 +25,10 @@
/* 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

@ -25,10 +25,10 @@
/* 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.
*

@ -25,10 +25,10 @@
/* 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;

@ -25,10 +25,10 @@
/* 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.
*

@ -25,10 +25,10 @@
/* 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

@ -25,10 +25,10 @@
/* 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.
*

Loading…
Cancel
Save