From 1901359efa10fe2e18794df34fc33b81da03a6f5 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Mon, 4 Jan 2016 16:09:12 +0100 Subject: Add a file for shared functions New common.[hc] files where shared functions between surf and webkitextension will be put. First addition is die(). --- libsurf-webext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libsurf-webext.c') diff --git a/libsurf-webext.c b/libsurf-webext.c index 6c3deb7..4270b47 100644 --- a/libsurf-webext.c +++ b/libsurf-webext.c @@ -8,9 +8,9 @@ #include #include -#define LENGTH(x) (sizeof(x) / sizeof(x[0])) +#include "common.h" -#define MSGBUFSZ 32 +#define LENGTH(x) (sizeof(x) / sizeof(x[0])) typedef struct Page { guint64 id; -- cgit v1.2.3