Commit 998db1e8 authored by Marc-André Lureau's avatar Marc-André Lureau 🎺
Browse files

Remove libcacard.h warning



qemu.git uses -Werror by default, and this is problematic as 2.5.0
doesn't use libcacard.h and it breaks some developpers setup.

Remove the warning and release 2.5.2.

This change can be reverted in a near future (after 2.5.0 release and
a qemu patch is merged?)
Signed-off-by: Marc-André Lureau's avatarMarc-André Lureau <marcandre.lureau@gmail.com>
parent e3e37808
v2.5.2
======
- remove libcacard.h usage warning (to silence qemu 2.5.0 build)
v2.5.1
======
......
......@@ -8,10 +8,6 @@
#ifndef CAC_H
#define CAC_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "vcard.h"
#include "vreader.h"
......
......@@ -5,10 +5,6 @@
#ifndef CAPCSC_H
#define CAPCSC_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#define CAPCSC_POLL_TIME 50 /* ms - Time we will poll for */
/* card change when a */
/* reader is connected */
......
......@@ -7,10 +7,6 @@
#ifndef CARD_7816_H
#define CARD_7816_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "card_7816t.h"
#include "vcardt.h"
......
......@@ -7,10 +7,6 @@
#ifndef CARD_7816T_H
#define CARD_7816T_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
typedef unsigned short vcard_7816_status_t;
struct VCardResponseStruct {
......
......@@ -6,10 +6,6 @@
#ifndef EVENTT_H
#define EVENTT_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "vreadert.h"
#include "vcardt.h"
......
......@@ -5,10 +5,6 @@
#ifndef VCARD_H
#define VCARD_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "vcardt.h"
/*
......
......@@ -13,10 +13,6 @@
#ifndef VCARD_EMUL_H
#define VCARD_EMUL_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "card_7816t.h"
#include "vcard.h"
#include "vcard_emul_type.h"
......
......@@ -11,10 +11,6 @@
#ifndef VCARD_EMUL_TYPE_H
#define VCARD_EMUL_TYPE_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "vcardt.h"
#include "vreadert.h"
......
......@@ -5,10 +5,6 @@
#ifndef VCARDT_H
#define VCARDT_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
/*
* these should come from some common spice header file
*/
......
......@@ -5,10 +5,6 @@
#ifndef EVENT_H
#define EVENT_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "eventt.h"
#include "vreadert.h"
#include "vcardt.h"
......
......@@ -6,10 +6,6 @@
#ifndef VREADER_H
#define VREADER_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include "eventt.h"
#include "vreadert.h"
#include "vcardt.h"
......
......@@ -6,10 +6,6 @@
#ifndef VREADERT_H
#define VREADERT_H 1
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
typedef enum {
VREADER_OK = 0,
VREADER_NO_CARD,
......
......@@ -22,10 +22,6 @@
#ifndef VSCARD_COMMON_H
#define VSCARD_COMMON_H
#if !defined(__LIBCACARD_H_INSIDE__) && !defined(LIBCACARD_COMPILATION)
#warning "Only <libcacard.h> can be included directly"
#endif
#include <stdint.h>
#include <glib.h>
......
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