symrec_data_print() doesn't need to handle a NULL data pointer.

svn path=/trunk/yasm/; revision=772
0.3
Peter Johnson 23 years ago
parent 9b744cb938
commit 2c94e53a91
  1. 2
      libyasm/objfmt.h
  2. 2
      src/objfmt.h

@ -95,7 +95,7 @@ struct objfmt {
/* May be NULL if symrec_set_of_data() is never called. */
void (*symrec_data_delete)(/*@only@*/ void *data);
void (*symrec_data_print)(FILE *f, /*@null@*/ void *data);
void (*symrec_data_print)(FILE *f, void *data);
/* Object format-specific directive support. Returns 1 if directive was
* not recognized. Returns 0 if directive was recognized, even if it

@ -95,7 +95,7 @@ struct objfmt {
/* May be NULL if symrec_set_of_data() is never called. */
void (*symrec_data_delete)(/*@only@*/ void *data);
void (*symrec_data_print)(FILE *f, /*@null@*/ void *data);
void (*symrec_data_print)(FILE *f, void *data);
/* Object format-specific directive support. Returns 1 if directive was
* not recognized. Returns 0 if directive was recognized, even if it

Loading…
Cancel
Save