diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-23 10:15:45 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-02-23 10:15:45 -0500 |
commit | c758cdf4f6e959b92683f2dba6ce8617ac4f0a83 (patch) | |
tree | 36e2664048b4ba9d6925b33281afcab2a0aab53d /config/cpu/generic | |
parent | 25786b77b700abbcce664e7e39504a2b0dd1f0c8 (diff) | |
download | jack1-c758cdf4f6e959b92683f2dba6ce8617ac4f0a83.tar.gz |
uncrustification of jack source code
Diffstat (limited to 'config/cpu/generic')
-rw-r--r-- | config/cpu/generic/atomicity.h | 12 | ||||
-rw-r--r-- | config/cpu/generic/cycles.h | 13 |
2 files changed, 13 insertions, 12 deletions
diff --git a/config/cpu/generic/atomicity.h b/config/cpu/generic/atomicity.h index 0b25100..b781c44 100644 --- a/config/cpu/generic/atomicity.h +++ b/config/cpu/generic/atomicity.h @@ -18,22 +18,22 @@ 02111-1307 USA. */ #ifndef _ATOMICITY_H -#define _ATOMICITY_H 1 +#define _ATOMICITY_H 1 typedef int _Atomic_word; -static inline _Atomic_word +static inline _Atomic_word __attribute__ ((__unused__)) -__exchange_and_add(volatile _Atomic_word* mem, int val) +__exchange_and_add (volatile _Atomic_word* mem, int val) { - return __sync_fetch_and_add(mem, val); + return __sync_fetch_and_add (mem, val); } static inline void __attribute__ ((__unused__)) -__atomic_add(volatile _Atomic_word* mem, int val) +__atomic_add (volatile _Atomic_word* mem, int val) { - __sync_add_and_fetch(mem, val); + __sync_add_and_fetch (mem, val); } #endif /* atomicity.h */ diff --git a/config/cpu/generic/cycles.h b/config/cpu/generic/cycles.h index b05fb0e..12ccb8f 100644 --- a/config/cpu/generic/cycles.h +++ b/config/cpu/generic/cycles.h @@ -1,6 +1,6 @@ /* Copyright (C) 2001 Paul Davis - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -15,7 +15,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -*/ + */ #ifndef __jack_cycles_h__ #define __jack_cycles_h__ @@ -26,12 +26,13 @@ typedef long cycles_t; -static inline cycles_t get_cycles(void) +static inline cycles_t get_cycles (void) { - struct timespec time; - clock_gettime(CLOCK_REALTIME, &time); + struct timespec time; + + clock_gettime (CLOCK_REALTIME, &time); - return ((cycles_t) time.tv_sec * 1000000) + time.tv_nsec*1000; + return ((cycles_t)time.tv_sec * 1000000) + time.tv_nsec * 1000; } #endif /* __jack_cycles_h__ */ |