diff options
author | Quentin Rameau <quinq@fifth.space> | 2016-01-04 16:09:12 +0100 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2018-10-08 11:38:03 +0200 |
commit | 1901359efa10fe2e18794df34fc33b81da03a6f5 (patch) | |
tree | 5f0267eb93763156d9b4348db7b62056bb064c12 /libsurf-webext.c | |
parent | 7ea0c2f7f8c5cc4616d8dc0676f7b4b59351667b (diff) | |
download | surf-1901359efa10fe2e18794df34fc33b81da03a6f5.tar.gz surf-1901359efa10fe2e18794df34fc33b81da03a6f5.tar.bz2 surf-1901359efa10fe2e18794df34fc33b81da03a6f5.zip |
Add a file for shared functions
New common.[hc] files where shared functions between surf and
webkitextension will be put. First addition is die().
Diffstat (limited to 'libsurf-webext.c')
-rw-r--r-- | libsurf-webext.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <webkitdom/webkitdom.h> #include <webkitdom/WebKitDOMDOMWindowUnstable.h> -#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; |