summaryrefslogtreecommitdiff
path: root/gprof/search_list.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-02-01 08:24:16 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-02-01 08:24:16 +0000
commit51b1204babc5ff3aefd76507615b29b963064741 (patch)
tree95c3cca576d6df10a7b188bb5b2cf0b21be73326 /gprof/search_list.c
parent846e4ba9c9f13f142251ba08494509c19eac8f69 (diff)
downloadbinutils-redhat-51b1204babc5ff3aefd76507615b29b963064741.tar.gz
* alpha.c (alpha_find_call): Warning fixes.
* mips.c (mips_find_call): Likewise. * sparc.c (sparc_find_call): Likewise. * basic_blocks.c: Warning fixes. Eliminate DEFUN. * call_graph.c: Likewise. * cg_arcs.c: Likewise. * cg_dfn.cp: Likewise. * gprof.c: Likewise. * gprof.h: Likewise. * hist.c: Likewise. * search_list.c: Likewise. * source.c: Likewise. * source.h: Likewise. * sym_ids.c: Likewise. * symtab.c: Likewise. * symtab.h: Likewise. * utils.c: Likewise. * cg_print.c: Likewise. (struct function_map, symbol_map, symbol_map_count): Move declaration to.. * corefile: ..here. * corefile.c: Warning fixes. Eliminate DEFUN. (struct function_map): Remove declaration. * gmon_io.c: Warning fixes. Eliminate DEFUN. (gmon_io_read_64): Make static. (gmon_io_write_64): Likewise. (gmon_read_raw_arc): Likewise. (gmon_write_raw_arc): Likewise. (gmon_io_write_8): Don't pass char, pass int param. * gmon_io.h (gmon_io_write_8): Likewise. and a few copyright dates that should have been done previously.
Diffstat (limited to 'gprof/search_list.c')
-rw-r--r--gprof/search_list.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gprof/search_list.c b/gprof/search_list.c
index 743fbdac60..50b4cf2e3d 100644
--- a/gprof/search_list.c
+++ b/gprof/search_list.c
@@ -1,6 +1,6 @@
/* search-list.c
- Copyright 2000, 2001 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -25,12 +25,13 @@
void
-DEFUN (search_list_append, (list, paths),
- Search_List * list AND const char *paths)
+search_list_append (list, paths)
+ Search_List *list;
+ const char *paths;
{
Search_List_Elem *new_el;
const char *beg, *colon;
- int len;
+ unsigned int len;
colon = paths - 1;
do