~vorlon/ubuntu/raring/upstart/lp.1199778

Viewing all changes in revision 889.

  • Committer: Scott James Remnant
  • Date: 2008-04-12 10:11:22 UTC
  • Revision ID: scott@netsplit.com-20080412101122-tmxc5kdukj2xlz9z
* init/event.h (Event): We don't use the id field for anything;
and it can't be guaranteed to be unique since it can wrap over
and get reused.  Drop it.
* init/event.c (event_next_id): Drop this function.
(event_new): Don't assign an id anymore.
(event_find_by_id): Drop this function.
* init/tests/test_event.c (test_new): Drop checks on the id field
(test_find_by_id): Drop test.
(test_poll): Drop id setting which was needless anyway.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: