diff options
author | Guangxiong Lin <[email protected]> | 2022-12-01 23:20:33 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-12-01 23:20:33 +0800 |
commit | a9501d10847d7993fad2e0778fe9c11317b4f7be (patch) | |
tree | 470302a8a27b460c7f1fc5411e9f8dac0707743f /common.c | |
parent | 122a69f715acfe73963a2347cbb335e41bce944c (diff) | |
download | tinyserver-a9501d10847d7993fad2e0778fe9c11317b4f7be.tar.gz tinyserver-a9501d10847d7993fad2e0778fe9c11317b4f7be.tar.bz2 tinyserver-a9501d10847d7993fad2e0778fe9c11317b4f7be.zip |
Simplify logic by structure
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common.c b/common.c deleted file mode 100644 index 154e60d..0000000 --- a/common.c +++ /dev/null @@ -1,8 +0,0 @@ -#include <stdlib.h> -#include <stdio.h> - -void panic(const char *msg) -{ - perror(msg); - exit(EXIT_FAILURE); -} |