LCLint cleanups.

svn path=/trunk/yasm/; revision=443
0.3
Peter Johnson 23 years ago
parent 04b27087a9
commit 985d4e9b59
  1. 2
      libyasm/arch.h
  2. 2
      libyasm/bytecode.h
  3. 2
      modules/arch/x86/x86-int.h
  4. 3
      modules/arch/x86/x86bc.c
  5. 2
      src/arch.h
  6. 2
      src/arch/x86/x86-int.h
  7. 3
      src/arch/x86/x86bc.c
  8. 2
      src/bytecode.h

@ -40,7 +40,7 @@ struct arch {
void (*bc_print) (FILE *f, const bytecode *bc);
/* See bytecode.h comments on bc_calc_len() */
unsigned long (*bc_calc_len) (bytecode *bc, /*@only@*/ /*@null@*/
unsigned long (*bc_calc_len) (bytecode *bc,
intnum *(*resolve_label) (symrec *sym));
} bc;
};

@ -63,7 +63,7 @@ void bc_print(FILE *f, const bytecode *bc);
* resolve_label is the function used to determine the value (offset) of a
* in-file label (eg, not an EXTERN variable, which is indeterminate).
*/
unsigned long bc_calc_len(bytecode *bc, /*@only@*/ /*@null@*/
unsigned long bc_calc_len(bytecode *bc,
intnum *(*resolve_label) (symrec *sym));
/* void bcs_initialize(bytecodehead *headp); */

@ -96,7 +96,7 @@ typedef struct x86_jmprel {
void x86_bc_delete(bytecode *bc);
void x86_bc_print(FILE *f, const bytecode *bc);
unsigned long x86_bc_calc_len(bytecode *bc, /*@only@*/ /*@null@*/
unsigned long x86_bc_calc_len(bytecode *bc,
intnum *(*resolve_label) (symrec *sym));
int x86_expr_checkea(expr **ep, unsigned char *addrsize, unsigned char bits,

@ -464,8 +464,7 @@ x86_bc_print(FILE *f, const bytecode *bc)
}
static unsigned long
x86_bc_calc_len_insn(x86_insn *insn, /*@only@*/ /*@null@*/
intnum *(*resolve_label) (symrec *sym))
x86_bc_calc_len_insn(x86_insn *insn, intnum *(*resolve_label) (symrec *sym))
{
effaddr *ea = insn->ea;
x86_effaddr_data *ead = ea_get_data(ea);

@ -40,7 +40,7 @@ struct arch {
void (*bc_print) (FILE *f, const bytecode *bc);
/* See bytecode.h comments on bc_calc_len() */
unsigned long (*bc_calc_len) (bytecode *bc, /*@only@*/ /*@null@*/
unsigned long (*bc_calc_len) (bytecode *bc,
intnum *(*resolve_label) (symrec *sym));
} bc;
};

@ -96,7 +96,7 @@ typedef struct x86_jmprel {
void x86_bc_delete(bytecode *bc);
void x86_bc_print(FILE *f, const bytecode *bc);
unsigned long x86_bc_calc_len(bytecode *bc, /*@only@*/ /*@null@*/
unsigned long x86_bc_calc_len(bytecode *bc,
intnum *(*resolve_label) (symrec *sym));
int x86_expr_checkea(expr **ep, unsigned char *addrsize, unsigned char bits,

@ -464,8 +464,7 @@ x86_bc_print(FILE *f, const bytecode *bc)
}
static unsigned long
x86_bc_calc_len_insn(x86_insn *insn, /*@only@*/ /*@null@*/
intnum *(*resolve_label) (symrec *sym))
x86_bc_calc_len_insn(x86_insn *insn, intnum *(*resolve_label) (symrec *sym))
{
effaddr *ea = insn->ea;
x86_effaddr_data *ead = ea_get_data(ea);

@ -63,7 +63,7 @@ void bc_print(FILE *f, const bytecode *bc);
* resolve_label is the function used to determine the value (offset) of a
* in-file label (eg, not an EXTERN variable, which is indeterminate).
*/
unsigned long bc_calc_len(bytecode *bc, /*@only@*/ /*@null@*/
unsigned long bc_calc_len(bytecode *bc,
intnum *(*resolve_label) (symrec *sym));
/* void bcs_initialize(bytecodehead *headp); */

Loading…
Cancel
Save