Added const char * in multiple places

This commit is contained in:
Olof hagsand 2020-07-02 19:25:48 +02:00
parent 0a985e6618
commit 593ed2ef3b
30 changed files with 138 additions and 136 deletions

View file

@ -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);