/* Asynchronous timers.
- Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005,
+ 2006, 2007 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
any later version.
GNU Emacs is distributed in the hope that it will be useful,
struct atimer *p, *prev;
/* See if T is active. */
- for (p = atimers, prev = 0; p && p != t; p = p->next)
+ for (p = atimers, prev = NULL; p && p != t; prev = p, p = p->next)
;
if (p == t)