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

« back to all changes in this revision

Viewing changes to init/job_class.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:
167
167
 
168
168
        nih_list_init (&class->entry);
169
169
 
170
 
        nih_alloc_set_destructor (class, (NihDestructor)nih_list_destroy);
 
170
        nih_alloc_set_destructor (class, nih_list_destroy);
171
171
 
172
172
        class->name = nih_strdup (class, name);
173
173
        if (! class->name)