From 84eaf6e55c974b7f13fee5cd608fca366353b56f Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 13 Nov 2008 16:35:42 +0000 Subject: sync --- tailq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tailq.c') diff --git a/tailq.c b/tailq.c index de9e312..8501341 100644 --- a/tailq.c +++ b/tailq.c @@ -67,7 +67,7 @@ main(void) * loop through the other way, note the use of tqhead */ printf("backwards!\n"); - TAILQ_FOREACH_REVERSE(fp, tqp, f_link, tqhead) + TAILQ_FOREACH_REVERSE(fp, tqp, tqhead, f_link) printf("%d %c\n", fp->f_a, fp->f_b); /* -- cgit v1.2.3