From d7cdc28431eb3d6c8172df60cda5c9fb91bb662d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 27 Feb 2008 14:40:19 +0000 Subject: [PATCH] Fix a "make syntax-check" failure. * src/capabilities.c: Include from the .c file, * src/capabilities.h: ... not from the .h file. --- ChangeLog | 6 ++++++ src/capabilities.c | 4 +++- src/capabilities.h | 3 --- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 85d066d296..2cce6880f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 27 15:39:10 CET 2008 Jim Meyering + + Fix a "make syntax-check" failure. + * src/capabilities.c: Include from the .c file, + * src/capabilities.h: ... not from the .h file. + Wed Feb 27 10:34:00 UTC 2008 Richard W.M. Jones Fix typos (Atsushi SAKAI). diff --git a/src/capabilities.c b/src/capabilities.c index 94f7d173aa..263935cf50 100644 --- a/src/capabilities.c +++ b/src/capabilities.c @@ -21,6 +21,8 @@ * Author: Daniel P. Berrange */ +#include + #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 diff --git a/src/capabilities.h b/src/capabilities.h index 97bd06f2ef..b379e515d0 100644 --- a/src/capabilities.h +++ b/src/capabilities.h @@ -24,9 +24,6 @@ #ifndef __VIR_CAPABILITIES_H #define __VIR_CAPABILITIES_H -#include - - typedef struct _virCapsGuestFeature virCapsGuestFeature; typedef virCapsGuestFeature *virCapsGuestFeaturePtr; struct _virCapsGuestFeature {