aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-06-26 12:30:13 -0700
committerH. Peter Anvin <hpa@zytor.com>2010-06-26 12:30:13 -0700
commit3547a45e6d81e82cbdee266fc6b6186fb189e9ea (patch)
treeac5bc49caa9f3b8eb47609eb086b31e8ac03ae4d /com32/include
parentbf4d5601341becb4454304a6252ee1f43a713809 (diff)
downloadsyslinux-3547a45e6d81e82cbdee266fc6b6186fb189e9ea.tar.gz
syslinux-3547a45e6d81e82cbdee266fc6b6186fb189e9ea.tar.xz
syslinux-3547a45e6d81e82cbdee266fc6b6186fb189e9ea.zip
pmapi: make the pmapi vector include its own size
Future-proof the pmapi vector by making it include its own size. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/syslinux/pmapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/include/syslinux/pmapi.h b/com32/include/syslinux/pmapi.h
index f583deae..ae3254df 100644
--- a/com32/include/syslinux/pmapi.h
+++ b/com32/include/syslinux/pmapi.h
@@ -52,6 +52,8 @@ struct com32_filedata {
};
struct com32_pmapi {
+ size_t __pmapi_size;
+
void *(*lmalloc)(size_t);
void (*lfree)(void *);