Added const char * in multiple places
This commit is contained in:
parent
0a985e6618
commit
593ed2ef3b
30 changed files with 138 additions and 136 deletions
|
|
@ -42,9 +42,9 @@
|
|||
* Prototypes
|
||||
*/
|
||||
#if defined(__GNUC__) && __GNUC__ >= 3
|
||||
int restconf_reply_header(void *req, char *name, char *vfmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
int restconf_reply_header(void *req, char *name, const char *vfmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
#else
|
||||
int restconf_reply_header(FCGX_Request *req, char *name, char *vfmt, ...);
|
||||
int restconf_reply_header(FCGX_Request *req, char *name, const char *vfmt, ...);
|
||||
#endif
|
||||
|
||||
int restconf_reply_send(void *req, int code, cbuf *cb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue