Automatically remove trailing whitespace

This commit is contained in:
Robert Clausecker
2013-03-10 01:59:42 +01:00
parent 62396c5250
commit 1446c97470
256 changed files with 6539 additions and 6539 deletions

View File

@@ -10,7 +10,7 @@
#ifdef ELLIPSIS_TEST
void usage_statement(void);
#endif
int compact_string(char *main_string, char *ellipsis_string,
int compact_string(char *main_string, char *ellipsis_string,
int num_chars, int mode, int eLength);
#ifdef ELLIPSIS_TEST
@@ -54,7 +54,7 @@ int main(int argc, char *argv[]) {
#endif
int compact_string(char *main_string, char *ellipsis_string,
int compact_string(char *main_string, char *ellipsis_string,
int num_chars, int mode, int eLength) {
int string_len;
@@ -71,7 +71,7 @@ int compact_string(char *main_string, char *ellipsis_string,
switch(mode) {
case 1: {
puff = num_chars - eLength;
feem = string_len - puff;
@@ -130,9 +130,9 @@ int compact_string(char *main_string, char *ellipsis_string,
break;
}
case 3: {
puff = num_chars - eLength;
feem = string_len - puff;
@@ -151,9 +151,9 @@ int compact_string(char *main_string, char *ellipsis_string,
}
break;
}
default: {
#ifdef ELLIPSIS_TEST
usage_statement();
@@ -162,7 +162,7 @@ int compact_string(char *main_string, char *ellipsis_string,
return(-1);
#endif
}
}
ellipsis_string[num_chars]='\0';