* [kbd] [PATCH] libkeymap: include stdarg.h where used
@ 2014-01-06 15:27 Mike Frysinger
2014-01-06 18:30 ` Alexey Gladkov
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2014-01-06 15:27 UTC (permalink / raw)
To: kbd
Some of these headers use va_list but don't include stdarg.h for it.
Reported-by: Anthony Basile <blueness@gentoo.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
src/libkeymap/contextP.h | 2 ++
src/libkeymap/keymap/common.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/libkeymap/contextP.h b/src/libkeymap/contextP.h
index e3798e3..8ee3fab 100644
--- a/src/libkeymap/contextP.h
+++ b/src/libkeymap/contextP.h
@@ -1,6 +1,8 @@
#ifndef LK_CONTEXTP_H
#define LK_CONTEXTP_H
+#include <stdarg.h>
+
#include "keymap.h"
/**
diff --git a/src/libkeymap/keymap/common.h b/src/libkeymap/keymap/common.h
index 6b9cead..987b564 100644
--- a/src/libkeymap/keymap/common.h
+++ b/src/libkeymap/keymap/common.h
@@ -6,6 +6,8 @@
#ifndef LK_COMMON_H
#define LK_COMMON_H
+#include <stdarg.h>
+
#include <keymap/context.h>
/** Initializes the structures necessary to read and/or parse keymap.
--
1.8.4.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [kbd] [PATCH] libkeymap: include stdarg.h where used
2014-01-06 15:27 [kbd] [PATCH] libkeymap: include stdarg.h where used Mike Frysinger
@ 2014-01-06 18:30 ` Alexey Gladkov
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2014-01-06 18:30 UTC (permalink / raw)
To: kbd
06.01.2014 19:27, Mike Frysinger wrote:
> Some of these headers use va_list but don't include stdarg.h for it.
>
> Reported-by: Anthony Basile <blueness@gentoo.org>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Applied, thanks.
--
Rgrds, legion
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-06 18:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-06 15:27 [kbd] [PATCH] libkeymap: include stdarg.h where used Mike Frysinger
2014-01-06 18:30 ` Alexey Gladkov
Linux console tools development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
public-inbox-index kbd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.kbd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git