Mailinglist Archive: vhostmd (42 mails)

< Previous Next >
Re: [vhostmd] [PATCH 1/7] autotools: Use AC_GNU_SOURCE and config.h
  • From: Jim Fehlig <jfehlig@xxxxxxxxxx>
  • Date: Thu, 15 Oct 2009 09:23:33 -0600
  • Message-id: <4AD73E75.4000908@xxxxxxxxxx>
Richard W.M. Jones wrote:
From d3958dc76cff61f0ed7563729dc3c2f2e3e3ae10 Mon Sep 17 00:00:00 2001
From: Richard Jones <rjones@xxxxxxxxxx>
Date: Thu, 15 Oct 2009 11:05:28 +0100
Subject: [PATCH 1/8] autotools: Use AC_GNU_SOURCE and config.h

Use AC_GNU_SOURCE instead of coding -D_GNU_SOURCE directly.

All C files should include <config.h> as the first line (before
any other includes or defines).
---
configure.ac | 4 +++-
libmetrics/host_metrics.c | 2 ++
libmetrics/libmetrics.c | 4 +---
libmetrics/vm_metrics.c | 2 ++
test/main.c | 2 ++
vhostmd/metric.c | 2 ++
vhostmd/util.c | 2 ++
vhostmd/vhostmd.c | 2 ++
vhostmd/virt-util.c | 2 ++
vhostmd/xen-metrics.c | 2 ++
vhostmd/xenctrl-util.c | 2 ++
vhostmd/xenstore-update.c | 2 ++
vm-dump-metrics/main.c | 2 ++
13 files changed, 26 insertions(+), 4 deletions(-)


Good cleanup, ACK.

Jim

--
To unsubscribe, e-mail: vhostmd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: vhostmd+help@xxxxxxxxxxxx

< Previous Next >