From a6f4f3f4b51415133678af1c269b68b68ae7f4df Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 24 Oct 2006 13:25:28 +0000 Subject: [PATCH] Pure ANSI C! --- ChangeLog | 4 ++++ lib/gl_list.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a1155e7bf..5b80a0c90 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-10-24 Bruno Haible + + * lib/gl_list.h: Use C comment style, not C++ comment style. + 2006-10-23 Eric Blake * lib/getaddrinfo.c (includes): Add missing include. diff --git a/lib/gl_list.h b/lib/gl_list.h index b935b0f3f..b97a6a42a 100644 --- a/lib/gl_list.h +++ b/lib/gl_list.h @@ -360,7 +360,7 @@ extern bool gl_sortedlist_remove (gl_list_t list, struct gl_list_implementation { - // gl_list_t functions. + /* gl_list_t functions. */ gl_list_t (*create_empty) (gl_list_implementation_t implementation, gl_listelement_equals_fn equals_fn, gl_listelement_hashcode_fn hashcode_fn, @@ -392,7 +392,7 @@ struct gl_list_implementation bool (*remove_at) (gl_list_t list, size_t position); bool (*remove) (gl_list_t list, const void *elt); void (*list_free) (gl_list_t list); - // gl_list_iterator_t functions. + /* gl_list_iterator_t functions. */ gl_list_iterator_t (*iterator) (gl_list_t list); gl_list_iterator_t (*iterator_from_to) (gl_list_t list, size_t start_index, @@ -400,7 +400,7 @@ struct gl_list_implementation bool (*iterator_next) (gl_list_iterator_t *iterator, const void **eltp, gl_list_node_t *nodep); void (*iterator_free) (gl_list_iterator_t *iterator); - // Sorted gl_list_t functions. + /* Sorted gl_list_t functions. */ gl_list_node_t (*sortedlist_search) (gl_list_t list, gl_listelement_compar_fn compar, const void *elt); -- 2.11.0