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

« back to all changes in this revision

Viewing changes to init/control.h

  • Committer: Scott James Remnant
  • Date: 2008-06-01 18:43:48 UTC
  • Revision ID: scott@netsplit.com-20080601184348-j4fcl3cuvg686ldj
* init/control.c (control_get_job_by_name): Remove const from
return parameter.
* init/control.h: Update prototype.
* init/tests/test_control.c (test_get_job_by_name): Remove const
from path type.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
void control_bus_close       (void);
55
55
 
56
56
int  control_get_job_by_name (void *data, NihDBusMessage *message,
57
 
                              const char *name, const char **job)
 
57
                              const char *name, char **job)
58
58
        __attribute__ ((warn_unused_result));
59
59
 
60
60
NIH_END_EXTERN