diff options
author | Alexander Larsson <alexl@redhat.com> | 2007-11-08 17:48:52 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2007-11-08 17:48:52 +0000 |
commit | 31644982c385c859b9d4b3794b1d842d32aaebd8 (patch) | |
tree | 834f40267746d79a670e32cd6d21a531c0ccc9a8 /test | |
parent | dd3257226a6792f607ef9e125f439830d0391693 (diff) | |
download | gvfs-31644982c385c859b9d4b3794b1d842d32aaebd8.tar.gz |
Fixes for solaris build. Patches from Damien Carbery
2007-11-08 Alexander Larsson <alexl@redhat.com>
* daemon/gvfsdaemon.c:
* daemon/gvfsjobmove.c:
* test/benchmark-common.c:
Fixes for solaris build.
Patches from Damien Carbery
svn path=/trunk/; revision=1019
Diffstat (limited to 'test')
-rw-r--r-- | test/benchmark-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/benchmark-common.c b/test/benchmark-common.c index 6a070c89..0c21455b 100644 --- a/test/benchmark-common.c +++ b/test/benchmark-common.c @@ -184,7 +184,7 @@ G_GNUC_UNUSED static void benchmark_start_wallclock_timer (gint n_seconds) { benchmark_is_running = TRUE; - signal (SIGALRM, (sig_t) benchmark_timeout); + signal (SIGALRM, benchmark_timeout); alarm (n_seconds); } @@ -198,7 +198,7 @@ benchmark_start_cpu_timer (gint n_seconds) memset (&itv, 0, sizeof (itv)); itv.it_value.tv_sec = n_seconds; - signal (SIGPROF, (sig_t) benchmark_timeout); + signal (SIGPROF, benchmark_timeout); setitimer (ITIMER_PROF, &itv, NULL); } |