summaryrefslogtreecommitdiff
path: root/xmodmap.h
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-12-08 06:16:20 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-12-08 06:16:20 +0000
commit50e0694d51f48ca6c142e2e2006802710d076798 (patch)
treef4720aa801c51cd06d4d476bdeebd85e70db743b /xmodmap.h
parent8ad5d3b908d68353d407fa8f678c93320760eb12 (diff)
//bugs.freedesktop.org/show_bug.cgi?id=1818) attachment #1286XORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8-branch
(https://bugs.freedesktop.org/attachment.cgi?id=1286): Fixing off-by-one allocation error. Patch by Kristian Høgsberg <krh@bitplanet.net>.
Diffstat (limited to 'xmodmap.h')
-rw-r--r--xmodmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmodmap.h b/xmodmap.h
index 0d2f779..d52ef5e 100644
--- a/xmodmap.h
+++ b/xmodmap.h
@@ -56,3 +56,5 @@ extern void PrintModifierMapping(XModifierKeymap *map, FILE *fp);
extern void PrintKeyTable(Bool exprs, FILE *fp);
extern void PrintPointerMap(FILE *fp);
extern int SetPointerMap(unsigned char *map, int n);
+
+extern void *chk_malloc(size_t n_bytes);