Skip to contentSkip to conversation

usb: Use angle brackets for cacard include directive

PATCH In review Fam Zheng 2 participants 4 messages Sep 20, 2017 – Sep 29, 2017

lore
Share & tools
lore

Fam Zheng

author
#0 lore raw

PATCH 1/1 usb: Use angle brackets for cacard include directive

This is a library header, so angle brackets are more appropriate; also move the line to before QEMU headers, as is recommended in HACKING.

---
 hw/usb/ccid-card-passthru.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/ccid-card-passthru.c +1 -1
index 45d96b03c6..117711862e 100644
@@ -9,11 +9,11 @@
  */
 
 #include "qemu/osdep.h"
+#include <cacard/vscard_common.h>
 #include "chardev/char-fe.h"
 #include "qemu/error-report.h"
 #include "qemu/sockets.h"
 #include "ccid.h"
-#include "cacard/vscard_common.h"
 
 #define DPRINTF(card, lvl, fmt, ...)                    \
 do {                                                    \
Signature · 1 line
2.13.5
author
#1 lore raw
Quoted 29 lines · Fam Zheng

This is a library header, so angle brackets are more appropriate; also move the line to before QEMU headers, as is recommended in HACKING.

---
 hw/usb/ccid-card-passthru.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/usb/ccid-card-passthru.c +1 -1
index 45d96b03c6..117711862e 100644
@@ -9,11 +9,11 @@
  */
 
 #include "qemu/osdep.h"
+#include <cacard/vscard_common.h>
 #include "chardev/char-fe.h"
 #include "qemu/error-report.h"
 #include "qemu/sockets.h"
 #include "ccid.h"
-#include "cacard/vscard_common.h"
 
 #define DPRINTF(card, lvl, fmt, ...)                    \
 do {                                                    \
Signature · 1 line
2.13.5
author
#3 lore raw
Quoted 5 lines · Gerd Hoffmann

Hi,

Quoted 1 line

fyi: preparing usb request right now with this one included.

Cool, thanks!

Fam