diff options
| author | Jan Sucan <jan@jansucan.com> | 2020-12-24 11:30:06 +0100 |
|---|---|---|
| committer | Jan Sucan <jan@jansucan.com> | 2020-12-24 11:30:06 +0100 |
| commit | 42c87a3dd2b926905db944ab7637d74db0d88ae6 (patch) | |
| tree | bb7614455f09eee44b21f6b10d0f44a4de6c6523 /file.c | |
| parent | 6ea7dffe9afcb9531fbf20c66718801d9805d940 (diff) | |
Remove trailing whitespaces
Diffstat (limited to 'file.c')
| -rw-r--r-- | file.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -8,17 +8,17 @@ long file_size(FILE * const file) { fpos_t p; - + if ((fgetpos(file, &p) != 0) || (fseek(file, 0L, SEEK_END) != 0)) { return -1; } - + const long size = ftell(file); - + if (fsetpos(file, &p) != 0) { return -1; } - + return size; } |
