X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fbe%2Fmips%2Fmips_map_regs.c;h=bd014e71f86d837ddeafa81cd39f8b619850e947;hb=1a2cd36eecb45a8b1b0cbc22eefd757b05f4e3f8;hp=ddfb67b0cb68294cf0ad10dfed1940017f6136a7;hpb=4d5c3365a58cba59993045a9e08e686d8ae079a7;p=libfirm diff --git a/ir/be/mips/mips_map_regs.c b/ir/be/mips/mips_map_regs.c index ddfb67b0c..bd014e71f 100644 --- a/ir/be/mips/mips_map_regs.c +++ b/ir/be/mips/mips_map_regs.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -18,8 +18,10 @@ */ /** - * Register mapping for firm nodes. Stolen from bearch_firm :) - * $Id$ + * @file + * @brief Register mapping for firm nodes. Stolen from bearch_firm :) + * @author Matthias Braun, Mehdi + * @version $Id$ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -37,9 +39,10 @@ struct mips_irn_reg_assoc { const arch_register_t *reg; }; -int mips_cmp_irn_reg_assoc(const void *a, const void *b, size_t len) { +int mips_cmp_irn_reg_assoc(const void *a, const void *b, size_t size) { const struct mips_irn_reg_assoc *x = a; const struct mips_irn_reg_assoc *y = b; + (void) size; return x->irn != y->irn; }