summaryrefslogtreecommitdiff
path: root/libs/pbd/msvc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-10-04 14:51:05 -0400
commit4dc63966f0872efe768dad61eb9b8785d06b92d1 (patch)
treee54104d57d6c2da7840979181368151fd0819c96 /libs/pbd/msvc
parent297e80e020da94a56984b20782584bb1dd96ea34 (diff)
globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
Diffstat (limited to 'libs/pbd/msvc')
-rw-r--r--libs/pbd/msvc/getopt.h2
-rw-r--r--libs/pbd/msvc/getopt_long.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/libs/pbd/msvc/getopt.h b/libs/pbd/msvc/getopt.h
index 233a0eefa6..ac7126123a 100644
--- a/libs/pbd/msvc/getopt.h
+++ b/libs/pbd/msvc/getopt.h
@@ -106,5 +106,5 @@ GETOPT_API int getopt __P((int, char * const *, const char *));
__END_DECLS
#endif
-
+
#endif /* !_GETOPT_H_ */
diff --git a/libs/pbd/msvc/getopt_long.c b/libs/pbd/msvc/getopt_long.c
index 06c459ab84..bf10e5df58 100644
--- a/libs/pbd/msvc/getopt_long.c
+++ b/libs/pbd/msvc/getopt_long.c
@@ -152,7 +152,7 @@ gcd(int a, int b)
b = c;
c = a % b;
}
-
+
return b;
}
@@ -251,7 +251,7 @@ start:
place = EMSG;
if (IN_ORDER) {
/*
- * GNU extension:
+ * GNU extension:
* return non-option as argument to option 1
*/
optarg = nargv[optind++];
@@ -301,7 +301,7 @@ start:
}
if (optchar == 'W' && oli[1] == ';') { /* -W long-option */
/* XXX: what if no long options provided (called by getopt)? */
- if (*place)
+ if (*place)
return -2;
if (++optind >= nargc) { /* no arg */
@@ -435,7 +435,7 @@ getopt_long(int nargc,
has_equal++;
} else
current_argv_len = strlen(current_argv);
-
+
for (i = 0; long_options[i].name; i++) {
/* find matching long option */
if (strncmp(current_argv, long_options[i].name,
@@ -534,7 +534,7 @@ getopt_long(int nargc,
if (long_options[match].flag) {
*long_options[match].flag = long_options[match].val;
retval = 0;
- } else
+ } else
retval = long_options[match].val;
if (idx)
*idx = match;