about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-01 21:05:46 -0500
committerJune McEnroe <june@causal.agency>2019-12-01 21:05:46 -0500
commit02b0e2c95fc083808af3723b2055ac9fb6968891 (patch)
treeb86dd68c3c0d0344621bb593a923f4ad8cf0675b
parentChange database file name to litterbox.sqlite (diff)
downloadlitterbox-02b0e2c95fc083808af3723b2055ac9fb6968891.tar.gz
litterbox-02b0e2c95fc083808af3723b2055ac9fb6968891.zip
Rename header file to database.h
-rw-r--r--Makefile2
-rw-r--r--database.h (renamed from litterbox.h)0
-rw-r--r--litterbox.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 573290a..db31ae2 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ dev: tags all
 
 all: ${BINS}
 
-${BINS:=.o}: litterbox.h
+${BINS:=.o}: database.h
 
 tags: *.c *.h
 	ctags -w *.c *.h
diff --git a/litterbox.h b/database.h
index 5a9a4f6..5a9a4f6 100644
--- a/litterbox.h
+++ b/database.h
diff --git a/litterbox.c b/litterbox.c
index bcfdd8f..8264d95 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -20,7 +20,7 @@
 #include <stdlib.h>
 #include <sysexits.h>
 
-#include "litterbox.h"
+#include "database.h"
 
 int main(void) {
 	sqlite3 *db = dbOpen(SQLITE_OPEN_READWRITE);