]> PatchyGit - patchyircd.git/commitdiff
move netsock into root dir
authorEgor <egor@patchysicp.xyz>
Thu, 19 Oct 2023 11:04:41 +0000 (14:04 +0300)
committerEgor <egor@patchysicp.xyz>
Thu, 19 Oct 2023 11:04:41 +0000 (14:04 +0300)
Makefile
common.h
netsock.c [moved from NetSock/netsock.c with 100% similarity]
netsock.h [moved from NetSock/netsock.h with 100% similarity]

index b9705a9..52c7a92 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 TARGET:=ircd
-SOURCES:=$(wildcard *.c NetSock/*.c)
-HEADERS:=$(wildcard *.h NetSock/*.h)
+SOURCES:=$(wildcard *.c)
+HEADERS:=$(wildcard *.h)
 -include config.mk
 
 .PHONY: all clean
index accd4c1..aa8533f 100644 (file)
--- a/common.h
+++ b/common.h
@@ -1,6 +1,6 @@
 #ifndef _common_h
 #define _common_h
-#include "NetSock/netsock.h"
+#include "netsock.h"
 #include "config.h"
 #include "trie.h"
 #include <time.h>
similarity index 100%
rename from NetSock/netsock.c
rename to netsock.c
similarity index 100%
rename from NetSock/netsock.h
rename to netsock.h