Move prototypes for ctl_readcf and ctl_freeinf from ctlinfo.c to ctlinfo.h,
so the routines can be called by an upcoming change for 'lpc topq/bottomq'. MFC after: 3 days
This commit is contained in:
parent
0e1eebb846
commit
d6771428c4
@ -93,9 +93,7 @@ extern const char *from_ip; /* client machine's IP address */
|
||||
__BEGIN_DECLS
|
||||
void ctl_dumpcji(FILE *_dbg_stream, const char *_heading,
|
||||
struct cjobinfo *_cjinf);
|
||||
void ctl_freeinf(struct cjobinfo *_cjinf);
|
||||
static char *ctl_getline(struct cjobinfo *_cjinf);
|
||||
struct cjobinfo *ctl_readcf(const char *_ptrname, const char *_cfname);
|
||||
static void ctl_rewindcf(struct cjobinfo *_cjinf);
|
||||
char *ctl_rmjob(const char *_ptrname, const char *_cfname);
|
||||
__END_DECLS
|
||||
|
@ -67,5 +67,7 @@ struct cjobinfo {
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
void ctl_freeinf(struct cjobinfo *_cjinf);
|
||||
struct cjobinfo *ctl_readcf(const char *_ptrname, const char *_cfname);
|
||||
char *ctl_renametf(const char *_ptrname, const char *_tfname);
|
||||
__END_DECLS
|
||||
|
Loading…
Reference in New Issue
Block a user