History

Remove some unused arguments

these ones are really superfluous.

Michael Matz committed 9 years ago

Commit dfb75d91 parent 377e8e52 files · +3 −4Browse files

Unified · Split

2 files
  1. tccasm.c +1 −2
  2. tccelf.c +2 −2
tccasm.c+1−2
@@ -1087,7 +1087,6 @@ ST_FUNC int find_constraint(ASMOperand *operands, int nb_operands, · 1086 unmodified lines
10871087 }
10881088
10891089 static void subst_asm_operands(ASMOperand *operands, int nb_operands,
1090− int nb_outputs,
10911090 CString *out_str, CString *in_str)
10921091 {
10931092 int c, index, modifier;
@@ -1256,7 +1255,7 @@ ST_FUNC void asm_instr(void) · 162 unmodified lines
12561255 printf("asm: \"%s\"\n", (char *)astr.data);
12571256 #endif
12581257 if (must_subst) {
1259− subst_asm_operands(operands, nb_operands, nb_outputs, &astr1, &astr);
1258+ subst_asm_operands(operands, nb_operands, &astr1, &astr);
12601259 cstr_free(&astr);
12611260 } else {
12621261 astr1 = astr;
tccelf.c+2−2
@@ -870,7 +870,7 @@ static void build_got(TCCState *s1) · 869 unmodified lines
870870 relocation, use 'size' and 'info' for the corresponding symbol metadata.
871871 Returns the offset of the GOT or (if any) PLT entry. */
872872 static struct sym_attr * put_got_entry(TCCState *s1, int dyn_reloc_type,
873− int reloc_type, unsigned long size,
873+ unsigned long size,
874874 int info, int sym_index)
875875 {
876876 int need_plt_entry;
@@ -1044,7 +1044,7 @@ ST_FUNC void build_got_entries(TCCState *s1) · 167 unmodified lines
10441044 if (gotplt_entry == BUILD_GOT_ONLY)
10451045 continue;
10461046
1047− attr = put_got_entry(s1, reloc_type, type, sym->st_size, sym->st_info,
1047+ attr = put_got_entry(s1, reloc_type, sym->st_size, sym->st_info,
10481048 sym_index);
10491049
10501050 if (reloc_type == R_JMP_SLOT)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t