summaryrefslogtreecommitdiff
path: root/xmodmap.h
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2004-10-15 00:44:08 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2004-10-15 00:44:08 +0000
commitce64b2b312a73b9a4f266da8810ab552af4fbb1e (patch)
treed51e5d4c3140490cdcd96b3029661632890c522d /xmodmap.h
parent8ad5d3b908d68353d407fa8f678c93320760eb12 (diff)
Thu Oct 14 20:43:03 2004 Søren Sandmann <sandmann@redhat.com>
Fix a write-to-constant-string issue. Fix several buffer overruns.
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);