Skip to content

Commit e048d16

Browse files
Merge pull request #2745 from authmillenon/style/tab-spaces
style: replace tabs with spaces in source
2 parents 140a76f + 3ac8146 commit e048d16

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

examples/ccn-lite-client/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ static int riot_ccn_fib_test(int argc, char **argv)
291291
DEBUG("%d: '%s'\n", i, big_buf);
292292
printf("done: %d\n", i - 1);
293293

294-
return 0;
294+
return 0;
295295
}
296296
#endif
297297

sys/shell/commands/sc_lps331ap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ int _get_lps331ap_init_handler(int argc, char **argv)
3939

4040
if (res) {
4141
puts("Error initializing LPS331AP sensor.");
42-
return 1;
42+
return 1;
4343
}
4444
else {
4545
puts("Initialized LPS331AP sensor with default values");
46-
return 0;
46+
return 0;
4747
}
4848
}
4949

sys/shell/commands/sc_rtc.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static int _rtc_getalarm(void)
9393
}
9494
else {
9595
puts("rtc: error getting alarm");
96-
return 1;
96+
return 1;
9797
}
9898
}
9999

@@ -104,9 +104,9 @@ static int _rtc_setalarm(char **argv)
104104
if (_parse_time(argv, &now) == 0) {
105105
if (rtc_set_alarm(&now, _alarm_handler, NULL) == -1) {
106106
puts("rtc: error setting alarm");
107-
return 1;
107+
return 1;
108108
}
109-
return 0;
109+
return 0;
110110
}
111111
return 1;
112112
}
@@ -131,9 +131,9 @@ static int _rtc_settime(char **argv)
131131
if (_parse_time(argv, &now) == 0) {
132132
if (rtc_set_time(&now) == -1) {
133133
puts("rtc: error setting time");
134-
return 1;
134+
return 1;
135135
}
136-
return 0;
136+
return 0;
137137
}
138138
return 1;
139139
}
@@ -157,7 +157,7 @@ int _rtc_handler(int argc, char **argv)
157157
{
158158
if (argc < 2) {
159159
_rtc_usage();
160-
return 1;
160+
return 1;
161161
}
162162
else if (strncmp(argv[1], "init", 4) == 0) {
163163
rtc_init();
@@ -185,7 +185,7 @@ int _rtc_handler(int argc, char **argv)
185185
}
186186
else {
187187
printf("unknown command: %s\n", argv[1]);
188-
return 1;
188+
return 1;
189189
}
190190
return 0;
191191
}

0 commit comments

Comments
 (0)