Skip to content

Commit 4aaa928

Browse files
committed
Renamed scmp -> cmp
- enum lfs3_scmp -> enum lfs3_cmp - cmp -> cmp lfs3_scmp_t is still used as the type, as the s prefix indicates the type is signed, usually for muxing with error codes. I think that led to the enum also being named lfs3_scmp, but that's not quite right. But none of this really matters because enums are so useless and broken in C.
1 parent 2e47172 commit 4aaa928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lfs3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// internally used disk-comparison enum
1313
//
1414
// note LT < EQ < GT
15-
enum lfs3_scmp {
15+
enum lfs3_cmp {
1616
LFS3_CMP_LT = 0, // disk < query
1717
LFS3_CMP_EQ = 1, // disk = query
1818
LFS3_CMP_GT = 2, // disk > query

0 commit comments

Comments
 (0)