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

Viewing all changes in revision 479.

  • Committer: Scott James Remnant
  • Date: 2007-02-07 20:21:54 UTC
  • Revision ID: scott@netsplit.com-20070207202154-wbkfzh20fzp8q0xn
* init/job.c (job_start_event, job_stop_event): There's no reason
for these to exist as seperate functions anymore, especially since
we want to eventually have some kind of match table.
(job_handle_event): Perform the iterations and match calls here
instead, since we just call job_change_goal now.
* init/job.h: Remove prototypes.
* init/tests/test_job.c (test_start_event, test_stop_event): Fold into
(test_handle_event): which now handles all the cases.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: