mips_ejtag_t -> struct mips_ejtag
[fw/openocd] / src / target / register.c
index 1c1dac825e90ee98ed6b8be29d77c8c5596143d5..58cc85e281e003c0ac04c98bfa650fc9bfff3938 100644 (file)
@@ -2,7 +2,7 @@
  *   Copyright (C) 2005 by Dominic Rath                                    *
  *   Dominic.Rath@gmx.de                                                   *
  *                                                                         *
- *   Copyright (C) 2007,2008 Øyvind Harboe                                 *
+ *   Copyright (C) 2007,2008 Øyvind Harboe                                 *
  *   oyvind.harboe@zylin.com                                               *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -30,7 +30,8 @@
 
 reg_arch_type_t *reg_arch_types = NULL;
 
-reg_t* register_get_by_name(reg_cache_t *first, char *name, int search_all)
+reg_t* register_get_by_name(reg_cache_t *first,
+               const char *name, bool search_all)
 {
        int i;
        reg_cache_t *cache = first;