This commit is contained in:
ed
2025-02-10 13:43:38 -05:00
parent 03ae07485b
commit 42b87be084
3 changed files with 15 additions and 3 deletions
+3 -2
View File
@@ -583,8 +583,9 @@ sll__queue_push_nz(
inline void
sll__queue_push_front_nz(void* nil, void** f, void** l, void* n, void** n_next) {
if (check_nil(nil, *f)) {
*f = n;
*l = n;
*f = n;
*l = n;
*n_next = nil;
}
else {
*n_next = f;