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

Viewing all changes in revision 669.

  • Committer: Scott James Remnant
  • Date: 2007-03-13 17:20:20 UTC
  • Revision ID: scott@netsplit.com-20070313172020-s5xm37ljy70y41i3
* init/job.h (Job): Change the type of the id to unsigned int.
* init/job.c (job_next_id): Change ids to be unsigned ints, and now
we can just use %u in the nih_error call.
(job_find_by_id): Change argument to be unsigned int
* init/tests/test_job.c (test_find_by_id): Change id type to unsigned
int.
* init/event.h (Event): Change the type of the id to unsigned int.
* init/event.c (event_emit_next_id): Change ids to be unsigned ints,
and now we can just use %u in the nih_error call.
(event_emit_find_by_id): Change argument to be unsigned int
* init/tests/test_event.c (test_emit, test_emit_find_by_id) 
(check_event, check_event_finished): Change id type to unsigned int.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: