syntax-check: Only allows to include public headers in external tools

With this patch, include public headers in "" form is only allowed
for "internal.h". And only the external tools (examples|tools|python
|include/libvirt) can include the public headers in <> form.
This commit is contained in:
Osier Yang
2013-04-17 18:19:19 +08:00
parent 1d69c6334b
commit 9969ade669
9 changed files with 29 additions and 19 deletions

View File

@@ -26,7 +26,7 @@
#ifndef __VIR_LXC_H__
# define __VIR_LXC_H__
# include "libvirt/libvirt.h"
# include <libvirt/libvirt.h>
# ifdef __cplusplus
extern "C" {

View File

@@ -26,7 +26,7 @@
#ifndef __VIR_QEMU_H__
# define __VIR_QEMU_H__
# include "libvirt/libvirt.h"
# include <libvirt/libvirt.h>
# ifdef __cplusplus
extern "C" {