aboutsummaryrefslogtreecommitdiff
path: root/gprof/search_list.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-03-14 02:58:16 +0000
committerKen Raeburn <raeburn@cygnus>1995-03-14 02:58:16 +0000
commit03c35bcb6ec00adf7bff3a0e51370718c03d5f90 (patch)
tree3cd2158a6161f5bda4749e952eb8f82d6606de9c /gprof/search_list.c
parent477b2425006ba2c296fc3c0e64cfd0146f99a7dd (diff)
downloadfsf-binutils-gdb-03c35bcb6ec00adf7bff3a0e51370718c03d5f90.zip
fsf-binutils-gdb-03c35bcb6ec00adf7bff3a0e51370718c03d5f90.tar.gz
fsf-binutils-gdb-03c35bcb6ec00adf7bff3a0e51370718c03d5f90.tar.bz2
* __bb_exit_func.c: New file, from David Mosberger-Tang.
Thu Feb 9 16:56:07 1995 David Mosberger-Tang <davidm@piston.cs.arizona.edu> * All *.c: More cleanup towards GNU format. * gmon_out.h (struct gmon_hist_hdr, struct gmon_cg_arc_record): replaced sizeof (bfd_vma) by size (char*) because Ken tells me that bfd_vma is only guaranteed to be at least as big as a pointer. (GMON_Record_tag): added explicit enumeration values to ensure compatibility across compilers. * gmon_io.c (get_vma, put_vma): replaced sizeof(bfd_vma) by sizeof(char*).
Diffstat (limited to 'gprof/search_list.c')
-rw-r--r--gprof/search_list.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gprof/search_list.c b/gprof/search_list.c
index e49cc8a..d475dbf 100644
--- a/gprof/search_list.c
+++ b/gprof/search_list.c
@@ -23,7 +23,7 @@ DEFUN (search_list_append, (list, paths),
else
{
len = strlen (beg);
- } /* if */
+ }
new_el = (Search_List_Elem *) xmalloc (sizeof (*new_el) + len);
memcpy (new_el->path, beg, len);
new_el->path[len] = '\0';
@@ -37,10 +37,8 @@ DEFUN (search_list_append, (list, paths),
else
{
list->head = new_el;
- } /* if */
+ }
list->tail = new_el;
}
while (colon);
-} /* search_list_append */
-
-/*** end of search_list.c ***/
+}