From: Jim Meyering <[email protected]> * exec/timer.c: Include "timer.h". * exec/timer.h (corosync_timer_init): Make return type in prototype match the one in the function definition. --- exec/timer.c | 1 + exec/timer.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/exec/timer.c b/exec/timer.c index 40df76d..aee4385 100644 --- a/exec/timer.c +++ b/exec/timer.c @@ -79,6 +79,7 @@ #include "sync.h" #include "tlist.h" #include "util.h" +#include "timer.h" #define SERVER_BACKLOG 5 diff --git a/exec/timer.h b/exec/timer.h index 724c6ef..967e5bd 100644 --- a/exec/timer.h +++ b/exec/timer.h @@ -1,12 +1,12 @@ /* - * Copyright (c) 2006-2007 Red Hat, Inc. + * Copyright (c) 2006-2007, 2009 Red Hat, Inc. * * All rights reserved. * * Author: Steven Dake ([email protected]) * * This software licensed under BSD license, the text of which follows: - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * @@ -37,7 +37,7 @@ typedef void * corosync_timer_handle; -extern void corosync_timer_init ( +extern int corosync_timer_init ( void (*serialize_lock) (void), void (*serialize_unlock) (void), int sched_priority); -- 1.6.2.rc1.285.gc5f54 _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
