summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-01 13:30:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-11 11:06:32 +0100
commit2b0f806e5b207b203c240c22d7e4b25b59b68e24 (patch)
treefc046081fe1e03efa4e3729d67e82b7a1ef1b113
parente3dddaaddc9e4192c6252dcdde4f545c38477c42 (diff)
downloadlibguestfs-2b0f806e5b207b203c240c22d7e4b25b59b68e24.tar.gz
libguestfs-2b0f806e5b207b203c240c22d7e4b25b59b68e24.tar.xz
libguestfs-2b0f806e5b207b203c240c22d7e4b25b59b68e24.zip
Add prototype for timeval_diff.
This is just code motion. Cherry picked from commit 1e6be6afe58de5bfb1ac056b80d3210888edfead.
-rw-r--r--src/launch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/launch.c b/src/launch.c
index 0af8ed5d..40a58e00 100644
--- a/src/launch.c
+++ b/src/launch.c
@@ -1,5 +1,5 @@
/* libguestfs
- * Copyright (C) 2009-2010 Red Hat Inc.
+ * Copyright (C) 2009-2011 Red Hat Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -71,6 +71,7 @@
#include "guestfs_protocol.h"
static int launch_appliance (guestfs_h *g);
+static int64_t timeval_diff (const struct timeval *x, const struct timeval *y);
static int qemu_supports (guestfs_h *g, const char *option);
/* Add a string to the current command line. */