Linux console tools development discussion
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: kbd@lists.altlinux.org
Subject: [kbd] [PATCH] libkeymap: include stdarg.h where used
Date: Mon,  6 Jan 2014 10:27:56 -0500
Message-ID: <1389022076-23320-1-git-send-email-vapier@gentoo.org> (raw)

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



             reply	other threads:[~2014-01-06 15:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06 15:27 Mike Frysinger [this message]
2014-01-06 18:30 ` Alexey Gladkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389022076-23320-1-git-send-email-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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