aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar zfl9 <zfl9.com@gmail.com> 2019-08-30 20:49:22 +0800
committerGravatar zfl9 <zfl9.com@gmail.com> 2019-08-30 20:49:22 +0800
commitf3ab07d682296c24222779794c94274339b30bed (patch)
tree1b35e2ebe9c0b696a8ac38847df3415b3072ef57
parentadd logutils.h (diff)
downloaddns2tcp-f3ab07d682296c24222779794c94274339b30bed.tar.gz
dns2tcp-f3ab07d682296c24222779794c94274339b30bed.tar.bz2
dns2tcp-f3ab07d682296c24222779794c94274339b30bed.zip
add gitignore
-rw-r--r--.gitignore3
-rw-r--r--dns2tcp.c9
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..40b0ce7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.o
+*.gch
+dns2tcp
diff --git a/dns2tcp.c b/dns2tcp.c
new file mode 100644
index 0000000..c1f08f7
--- /dev/null
+++ b/dns2tcp.c
@@ -0,0 +1,9 @@
+#define _GNU_SOURCE
+#include "logutils.h"
+#include <uv.h>
+#undef _GNU_SOURCE
+
+int main(void) {
+ LOGINF("[main] hello, world!");
+ return 0;
+}