libmach/coff32: REmove unneeded parameter in typeof() - scc - simple c99 compiler
 (HTM) git clone git://git.simple-cc.org/scc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a10811325601d16f25a9afe146831e371b2fe076
 (DIR) parent 29dc92ca622fc1a51d03db61131eed586fa370ab
 (HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
       Date:   Thu, 21 Mar 2024 09:06:28 +0100
       
       libmach/coff32: REmove unneeded parameter in typeof()
       
       Diffstat:
         M src/libmach/coff32/coff32getsym.c   |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/libmach/coff32/coff32getsym.c b/src/libmach/coff32/coff32getsym.c
       @@ -8,7 +8,7 @@
        #include "coff32.h"
        
        static int
       -typeof(Coff32 *coff, SYMENT *ent, char *name)
       +typeof(Coff32 *coff, SYMENT *ent)
        {
                int c;
                SCNHDR *scn;
       @@ -76,7 +76,7 @@ coff32getsym(Obj *obj, int *idx, Symbol *sym)
        
                ent = &coff->ents[n];
                sym->name = symname(coff, ent);
       -        sym->type = typeof(coff, ent, sym->name);
       +        sym->type = typeof(coff, ent);
                sym->stype = SYMOBJECT;
                sym->value = ent->n_value;
                sym->size = (sym->type == 'C') ? ent->n_value : 0;