Commit 5fadc1f0 authored by Colin Watson's avatar Colin Watson

* Make xstrdup() prototype const-correct.

r38669
parent 484e86ae
kbd-chooser (1.29) UNRELEASED; urgency=low
[ Frans Pop ]
* usb-kbd.c: Switch back to using USB-MAC keymaps for powerpc as otherwise
the mode switch key (for accented characters) is mapped to the wrong key.
* Move finish-install script to base-installer to allow inclusion of keymap
in initrd. Based on patch from David Härdeman. Closes: #376310.
[ Colin Watson ]
* Make xstrdup() prototype const-correct.
-- Frans Pop <fjp@debian.org> Sun, 2 Jul 2006 23:22:51 +0200
kbd-chooser (1.28) unstable; urgency=low
......
......@@ -38,7 +38,7 @@ xrealloc(void *pp, size_t sz) {
}
char *
xstrdup(char *p) {
xstrdup(const char *p) {
char *q = strdup(p);
if (q == NULL)
nomem();
......
......@@ -16,7 +16,7 @@
extern void *xmalloc(size_t sz);
extern void *xrealloc(void *p, size_t sz);
extern char *xstrdup(char *p);
extern char *xstrdup(const char *p);
extern void lkfatal(const char *s);
extern void lkfatal1(const char *s, const char *s2);
extern void lkfatal0(const char *, int);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment