diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-08-27 23:21:55 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-08-27 23:22:16 +0200 |
commit | a52135f276cbbd127e213bd895467d4fea90ba06 (patch) | |
tree | 8a4d62ff9ac754ca366ed5fbd36e75b0252d323c /cmake/stack_direction.c | |
parent | 00475facf257c5bb4ffa76086d91bb82a8c2113b (diff) |
Core: Remove whitespace
Diffstat (limited to 'cmake/stack_direction.c')
-rw-r--r-- | cmake/stack_direction.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/stack_direction.c b/cmake/stack_direction.c index 11bcf803bfa..4797d8e14e7 100644 --- a/cmake/stack_direction.c +++ b/cmake/stack_direction.c @@ -1,5 +1,5 @@ /* Copyright (C) 2009 Sun Microsystems, Inc - + 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; version 2 of the License. @@ -14,17 +14,17 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /* Check stack direction (0-down, 1-up) */ -int f(int *a) +int f(int *a) { int b; - return(&b > a)?1:0; + return(&b > a)?1:0; } /* - Prevent compiler optimizations by calling function + Prevent compiler optimizations by calling function through pointer. */ volatile int (*ptr_f)(int *) = f; -int main() +int main() { int a; return ptr_f(&a); |