Messages in this thread Patch in this message | | | From | Paul Rusty Russell <> | Subject | [PATCH] Trivial timer.h | Date | Tue, 29 Jun 1999 05:11:12 +0930 |
| |
Some of my code uses const, and this gets rid of a warning.
--- linux/include/linux/timer.h.~1~ Mon Feb 8 02:37:05 1999 +++ linux/include/linux/timer.h Tue Jun 29 05:07:40 1999 @@ -71,7 +71,7 @@ timer->prev = NULL; } -extern inline int timer_pending(struct timer_list * timer) +extern inline int timer_pending(const struct timer_list * timer) { return timer->prev != NULL; } Rusty. -- Tridge, Raster, DaveM, Cort, maddog... Where will you be 9-11 July 1999? http://www.linux.org.au/projects/calu
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |