summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-03-15 13:35:52 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-03-15 13:35:52 (EDT)
commitb98079242890168c8c711f406fa9f4db1c5e3642 (patch)
tree1e776246223cdf56dea52efbf677cbba9802feb4
parent573eb2630762b1336efaba3f0df4eec415970c20 (diff)
downloaddodge-balls-b98079242890168c8c711f406fa9f4db1c5e3642.zip
dodge-balls-b98079242890168c8c711f406fa9f4db1c5e3642.tar.gz
dodge-balls-b98079242890168c8c711f406fa9f4db1c5e3642.tar.bz2
src/logging.[ch]: Rename to src/output.[ch]
-rw-r--r--src/local.mk6
-rw-r--r--src/output.c (renamed from src/logging.c)2
-rw-r--r--src/output.h (renamed from src/logging.h)4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/local.mk b/src/local.mk
index 7576fee..1907214 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -1,4 +1,4 @@
dodge_balls_SOURCES += \
- %reldir%/logging.c \
- %reldir%/logging.h \
- %reldir%/main.c
+ %reldir%/main.c \
+ %reldir%/output.c \
+ %reldir%/output.h
diff --git a/src/logging.c b/src/output.c
index 69a5cc3..75225fc 100644
--- a/src/logging.c
+++ b/src/output.c
@@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "init.h"
-#include "logging.h"
+#include "output.h"
void
debug(const char *fmt, ...)
diff --git a/src/logging.h b/src/output.h
index 12c9b00..fd3f1e0 100644
--- a/src/logging.h
+++ b/src/output.h
@@ -16,8 +16,8 @@
* <http://www.gnu.org/licenses/>.
*/
-#ifndef LOGGING_H
-#define LOGGING_H
+#ifndef OUTPUT_H
+#define OUTPUT_H
void debug(const char *fmt, ...);
void warn(const char *fmt, ...);