cleanup: run indent with the Linux Kernel style across all code
Over the years, the reiserfs kernel code has been gradually cleaned up to be more readable. This patch does the same to the progs code. Signed-off-by: Jeff Mahoney <jeffm@suse.com>
This commit is contained in:
1 parent
b23d40f723
commit
47cff72748
51 files changed
+27279
-25108
No files matched your search
+2
-2
@@ -17,7 +17,7 @@ time_t parse_time(char *str)
|
||||
if (strcmp(str, "now") == 0) {
|
||||
return (time(0));
|
||||
}
|
||||
memset(&ts, 0, sizeof (ts));
|
||||
memset(&ts, 0, sizeof(ts));
|
||||
#ifdef HAVE_STRPTIME
|
||||
strptime(str, "%Y%m%d%H%M%S", &ts);
|
||||
#else
|
||||
@@ -32,6 +32,6 @@ time_t parse_time(char *str)
|
||||
#endif
|
||||
if (ts.tm_mday == 0)
|
||||
reiserfs_warning(stderr, "Couldn't parse date/time "
|
||||
"specifier: %s", str);
|
||||
"specifier: %s", str);
|
||||
return (mktime(&ts));
|
||||
}
|
||||
Reference in new issue
Block a user