From 74ebee5d3a81a39766ba8cd436a548449ea887b0 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Sat, 2 Mar 2024 12:55:03 +0800 Subject: tree-wide: use FREE_AND_NULLIFY macro and reformat code Jeez idk why i forgot the pass-by-value feature, so the original version never gets the pointer nullified. Fix it by using our favourite C-style macro. --- src/status.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/status.h') diff --git a/src/status.h b/src/status.h index 5adfff5..e5dcf48 100644 --- a/src/status.h +++ b/src/status.h @@ -12,5 +12,4 @@ typedef struct status { stat_type_t type; } status_t; - #endif -- cgit v1.2.3