mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
Fix remaining naming and style inconsistencies
- Add const to RecordObjectCompare parameters - Add static to crc32_table and table_computed in hash.c - Rename NewRecordObject to RecordObjectNew - Replace magic number 8192 with BUFFER_SIZE in utility.c - Unify comment style to /* */ across all files - Standardize _POSIX_C_SOURCE to 200809L - Remove unreachable dead code in diff.c
This commit is contained in:
@@ -33,7 +33,7 @@ int list(const char *snapshot) {
|
||||
goto out;
|
||||
}
|
||||
while (getline(&buf, &size, snapshot_file) != -1 && i < arr_size) {
|
||||
struct RecordObject *objp = NewRecordObject();
|
||||
struct RecordObject *objp = RecordObjectNew();
|
||||
if (objp == NULL) {
|
||||
rc = -1;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user