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

« back to all changes in this revision

Viewing changes to init/blocked.c

  • Committer: Scott James Remnant
  • Date: 2009-01-29 02:24:21 UTC
  • Revision ID: scott@netsplit.com-20090129022421-e5cc8tzv4lxt7bhb
* init/blocked.c (blocked_new),
* init/conf.c (conf_source_new, conf_file_new),
* init/event.c (event_new),
* init/event_operator.c (event_operator_new),
* init/job.c (job_new),
* init/job_class.c (job_class_new): No need to cast function
argument to nih_alloc_set_destructor()

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                return NULL;
68
68
 
69
69
        nih_list_init (&blocked->entry);
70
 
        nih_alloc_set_destructor (blocked, (NihDestructor)nih_list_destroy);
 
70
        nih_alloc_set_destructor (blocked, nih_list_destroy);
71
71
 
72
72
        blocked->type = type;
73
73
        switch (blocked->type) {