提交 d7cdc284 编写于 作者: J Jim Meyering

Fix a "make syntax-check" failure.

* src/capabilities.c: Include <config.h> from the .c file,
* src/capabilities.h: ... not from the .h file.
上级 b4882504
Wed Feb 27 15:39:10 CET 2008 Jim Meyering <meyering@redhat.com>
Fix a "make syntax-check" failure.
* src/capabilities.c: Include <config.h> from the .c file,
* src/capabilities.h: ... not from the .h file.
Wed Feb 27 10:34:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com> Wed Feb 27 10:34:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
Fix typos (Atsushi SAKAI). Fix typos (Atsushi SAKAI).
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* Author: Daniel P. Berrange <berrange@redhat.com> * Author: Daniel P. Berrange <berrange@redhat.com>
*/ */
#include <config.h>
#include "capabilities.h" #include "capabilities.h"
#include "buf.h" #include "buf.h"
...@@ -30,7 +32,7 @@ ...@@ -30,7 +32,7 @@
* @arch: host machine architecture * @arch: host machine architecture
* @offlineMigrate: non-zero if offline migration is available * @offlineMigrate: non-zero if offline migration is available
* @liveMigrate: non-zero if live migration is available * @liveMigrate: non-zero if live migration is available
* *
* Allocate a new capabilities object * Allocate a new capabilities object
*/ */
virCapsPtr virCapsPtr
......
...@@ -24,9 +24,6 @@ ...@@ -24,9 +24,6 @@
#ifndef __VIR_CAPABILITIES_H #ifndef __VIR_CAPABILITIES_H
#define __VIR_CAPABILITIES_H #define __VIR_CAPABILITIES_H
#include <config.h>
typedef struct _virCapsGuestFeature virCapsGuestFeature; typedef struct _virCapsGuestFeature virCapsGuestFeature;
typedef virCapsGuestFeature *virCapsGuestFeaturePtr; typedef virCapsGuestFeature *virCapsGuestFeaturePtr;
struct _virCapsGuestFeature { struct _virCapsGuestFeature {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册