mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-02 04:21:59 +03:00
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:
@ -17,8 +17,8 @@
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
#include <Python.h>
|
||||
#include "libvirt/libvirt-lxc.h"
|
||||
#include "libvirt/virterror.h"
|
||||
#include <libvirt/libvirt-lxc.h>
|
||||
#include <libvirt/virterror.h>
|
||||
#include "typewrappers.h"
|
||||
#include "libvirt-lxc.h"
|
||||
#include "viralloc.h"
|
||||
|
@ -20,8 +20,8 @@
|
||||
#define VIR_ENUM_SENTINELS
|
||||
|
||||
#include <Python.h>
|
||||
#include "libvirt/libvirt.h"
|
||||
#include "libvirt/virterror.h"
|
||||
#include <libvirt/libvirt.h>
|
||||
#include <libvirt/virterror.h>
|
||||
#include "typewrappers.h"
|
||||
#include "libvirt.h"
|
||||
#include "viralloc.h"
|
||||
|
@ -17,8 +17,8 @@
|
||||
#undef HAVE_PTHREAD_H
|
||||
|
||||
#include <Python.h>
|
||||
#include "libvirt/libvirt-qemu.h"
|
||||
#include "libvirt/virterror.h"
|
||||
#include <libvirt/libvirt-qemu.h>
|
||||
#include <libvirt/virterror.h>
|
||||
#include "typewrappers.h"
|
||||
#include "libvirt-qemu.h"
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
#include <Python.h>
|
||||
#include <stdbool.h>
|
||||
#include "libvirt/libvirt.h"
|
||||
#include "libvirt/virterror.h"
|
||||
#include <libvirt/libvirt.h>
|
||||
#include <libvirt/virterror.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
# ifdef ATTRIBUTE_UNUSED
|
||||
|
Reference in New Issue
Block a user