From e86fe28fa0573283c8fc9260e3ecd0475c5e5744 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 2 Sep 2014 16:39:10 +0000 Subject: [PATCH] blktemplate.h: Add warning against allocating blktemplate_t --- blktemplate.h | 1 + 1 file changed, 1 insertion(+) diff --git a/blktemplate.h b/blktemplate.h index 795d929..41d9a2d 100644 --- a/blktemplate.h +++ b/blktemplate.h @@ -77,6 +77,7 @@ extern gbt_capabilities_t blktmpl_getcapability(const char *); typedef gbt_capabilities_t blkmutations_t; +// WARNING: Do not allocate this (ABI is not guaranteed to remain fixed-size) typedef struct { uint32_t version; unsigned char diffbits[4];