From 4178db5f632721eefb58c42d684fc10f8f4fb9da Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 4 Oct 2015 15:11:15 -0400 Subject: globally remove all trailing whitespace from .cpp and .hpp files missed by previous commit --- tools/sanity_check/main.cpp | 12 ++++++------ tools/sanity_check/systemtest.cpp | 30 +++++++++++++++--------------- 2 files changed, 21 insertions(+), 21 deletions(-) (limited to 'tools') diff --git a/tools/sanity_check/main.cpp b/tools/sanity_check/main.cpp index c1886b295f..2572aa4c94 100644 --- a/tools/sanity_check/main.cpp +++ b/tools/sanity_check/main.cpp @@ -1,12 +1,12 @@ /* - * - * program: sanityCheck + * + * program: sanityCheck * file: main.c * author: Todd Naugle * date: 11/17/2010 - * + * * Desc: Command line version of the sanity check functions found in jack -*/ +*/ #include #include @@ -262,7 +262,7 @@ ParseSwitches( } if (OK) { - // All switches are at least valid, now check to make sure they are all valid to + // All switches are at least valid, now check to make sure they are all valid to // be used together. if (gSwitchesReceived.size() > 1) { @@ -291,7 +291,7 @@ ParseSwitches( } else { fprintf(stderr, "\n"); - fprintf(stderr, "ERROR - Invalid Option: %s\n", (const char *) argv[--i]); + fprintf(stderr, "ERROR - Invalid Option: %s\n", (const char *) argv[--i]); fprintf(stderr, "Check syntax\n"); PrintUsage(); return false; diff --git a/tools/sanity_check/systemtest.cpp b/tools/sanity_check/systemtest.cpp index b7c04a2031..bd873fad41 100644 --- a/tools/sanity_check/systemtest.cpp +++ b/tools/sanity_check/systemtest.cpp @@ -14,7 +14,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * * Set of functions to gather system information for the jack setup wizard. - * + * * TODO: Test for rt prio availability * * @author Florian Faber, faber@faberman.de @@ -43,7 +43,7 @@ #include "systemtest.h" /** - * This function checks for the existence of known frequency scaling mechanisms + * This function checks for the existence of known frequency scaling mechanisms * in this system by testing for the availability of scaling governors/ * * @returns 0 if the system has no frequency scaling capabilities non-0 otherwise. @@ -73,13 +73,13 @@ static int read_string(char* filename, char* buf, size_t buflen) { if (-1 scaling return 1; } - } + } } } } else { @@ -130,7 +130,7 @@ int system_uses_frequencyscaling() { } cpu++; } - + // couldn't find anything that points to scaling return 0; } @@ -172,18 +172,18 @@ int system_user_in_group(const char *name) { free(list); return 0; } - + num_groups = getgroups(MAX_GROUPS, list); - + while (i