From c850aa0c5b5e856618f11021a3e2a338c625de67 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Jan 2009 02:53:57 +0100 Subject: Add new pa_reduce() and pa_gcd() functions --- src/pulsecore/core-util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pulsecore/core-util.h') diff --git a/src/pulsecore/core-util.h b/src/pulsecore/core-util.h index fd6ee896..d9fad11e 100644 --- a/src/pulsecore/core-util.h +++ b/src/pulsecore/core-util.h @@ -206,4 +206,7 @@ static inline pa_bool_t pa_in_valgrind(void) { } #endif +unsigned pa_gcd(unsigned a, unsigned b); +void pa_reduce(unsigned *num, unsigned *den); + #endif -- cgit