summaryrefslogtreecommitdiffstats
path: root/blob.h
diff options
context:
space:
mode:
Diffstat (limited to 'blob.h')
-rw-r--r--blob.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/blob.h b/blob.h
index dba2f97..cfd8cd5 100644
--- a/blob.h
+++ b/blob.h
@@ -28,8 +28,7 @@ typedef struct blob {
#define BLOB_STRLEN(str) (blob_t){(str), strlen(str)}
#define BLOB_STR_INIT(str) {(str), sizeof(str)-1}
#define BLOB_STR(str) (blob_t) BLOB_STR_INIT(str)
-
-extern const blob_t BLOB_NULL;
+#define BLOB_NULL (blob_t){NULL, 0}
static inline int blob_is_null(blob_t b)
{