Fix a "make syntax-check" failure.

* src/capabilities.c: Include <config.h> from the .c file,
* src/capabilities.h: ... not from the .h file.
This commit is contained in:
Jim Meyering 2008-02-27 14:40:19 +00:00
parent b4882504ea
commit d7cdc28431
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,9 @@
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>
Fix typos (Atsushi SAKAI).

View File

@ -21,6 +21,8 @@
* Author: Daniel P. Berrange <berrange@redhat.com>
*/
#include <config.h>
#include "capabilities.h"
#include "buf.h"
@ -30,7 +32,7 @@
* @arch: host machine architecture
* @offlineMigrate: non-zero if offline migration is available
* @liveMigrate: non-zero if live migration is available
*
*
* Allocate a new capabilities object
*/
virCapsPtr

View File

@ -24,9 +24,6 @@
#ifndef __VIR_CAPABILITIES_H
#define __VIR_CAPABILITIES_H
#include <config.h>
typedef struct _virCapsGuestFeature virCapsGuestFeature;
typedef virCapsGuestFeature *virCapsGuestFeaturePtr;
struct _virCapsGuestFeature {