aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 539ba3a..81b4ca2 100644
--- a/include/common.h
+++ b/include/common.h
@@ -6,7 +6,7 @@
#include <fcntl.h>
#include <sys/stat.h>
-typedef struct MHD_Response*(*endpoint)(struct MHD_Connection*, int *status);
+typedef struct MHD_Response*(*endpoint)(const char *method, struct MHD_Connection*, int *status);
typedef char *(*query_func)(const char *path);
char *duplicate(const char *x);