summaryrefslogtreecommitdiff
path: root/include/my_list.h
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-08-09 18:02:36 -0700
committerunknown <jimw@mysql.com>2005-08-09 18:02:36 -0700
commitbea4fbb052d47a1f98d15e5ed7127f39a2e2db54 (patch)
treecf238206fdfb8b8d2fc9727fef3cde6565dc21ea /include/my_list.h
parent888a931432cfe4f35744226563aafd5a1545650d (diff)
downloadmariadb-git-bea4fbb052d47a1f98d15e5ed7127f39a2e2db54.tar.gz
Rename rest() macro in my_list.h to list_rest(). (Bug #12327)
include/my_list.h: Rename rest() macro to list_rest(). mysys/list.c: rest() renamed to list_rest(). mysys/thr_lock.c: rest() renamed to list_rest(). sql/sql_test.cc: rest() renamed to list_rest().
Diffstat (limited to 'include/my_list.h')
-rw-r--r--include/my_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_list.h b/include/my_list.h
index f786621e311..92598696fc4 100644
--- a/include/my_list.h
+++ b/include/my_list.h
@@ -36,7 +36,7 @@ extern void list_free(LIST *root,unsigned int free_data);
extern unsigned int list_length(LIST *);
extern int list_walk(LIST *,list_walk_action action,gptr argument);
-#define rest(a) ((a)->next)
+#define list_rest(a) ((a)->next)
#define list_push(a,b) (a)=list_cons((b),(a))
#define list_pop(A) {LIST *old=(A); (A)=list_delete(old,old) ; my_free((gptr) old,MYF(MY_FAE)); }