aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-06 08:50:54 +0000
committerOmar Polo <op@omarpolo.com>2023-06-06 08:50:54 +0000
commit281a8852b3a2d76c10d2fb6476a706746d05509b (patch)
treea9c5a73adf8e85597f0eb87d1865e28249c2b8a1
parent3dd89fbb44f7f61b8c89db12f4469ca49c17bc68 (diff)
rename log.[ch] to logger.[ch]
-rw-r--r--Makefile8
-rw-r--r--fcgi.c2
-rw-r--r--ge.c2
-rw-r--r--gmid.c2
-rw-r--r--logger.c (renamed from log.c)2
-rw-r--r--logger.h (renamed from log.h)0
-rw-r--r--mime.c2
-rw-r--r--proxy.c2
-rw-r--r--sandbox.c2
-rw-r--r--server.c2
-rw-r--r--utils.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index d950f33..5375097 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ GMID_SRCS = config.c \
fcgi.c \
gmid.c \
iri.c \
- log.c \
+ logger.c \
mime.c \
proxy.c \
puny.c \
@@ -40,7 +40,7 @@ GE_SRCS = config.c \
fcgi.c \
ge.c \
iri.c \
- log.c \
+ logger.c \
mime.c \
proxy.c \
puny.c \
@@ -58,7 +58,7 @@ GG_SRCS = gg.c \
GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS}
SRCS = gmid.h \
- log.h \
+ logger.h \
parse.y \
${GMID_SRCS} \
${GE_SRCS} \
@@ -158,7 +158,7 @@ DISTFILES = .cirrus.yml \
gmid.conf.5 \
gmid.h \
iri.c \
- log.c \
+ logger.c \
mime.c \
parse.y \
proxy.c \
diff --git a/fcgi.c b/fcgi.c
index 502b994..c67b1ac 100644
--- a/fcgi.c
+++ b/fcgi.c
@@ -20,7 +20,7 @@
#include <errno.h>
#include <string.h>
-#include "log.h"
+#include "logger.h"
/*
* Sometimes it can be useful to inspect the fastcgi traffic as
diff --git a/ge.c b/ge.c
index af85343..51060f8 100644
--- a/ge.c
+++ b/ge.c
@@ -28,7 +28,7 @@
#include <string.h>
#include <unistd.h>
-#include "log.h"
+#include "logger.h"
struct imsgbuf ibuf, logibuf;
struct conf conf;
diff --git a/gmid.c b/gmid.c
index bd67989..187ca1c 100644
--- a/gmid.c
+++ b/gmid.c
@@ -29,7 +29,7 @@
#include <signal.h>
#include <string.h>
-#include "log.h"
+#include "logger.h"
static const char *opts = "c:D:fhnP:Vv";
diff --git a/log.c b/logger.c
index a6d21d5..872846a 100644
--- a/log.c
+++ b/logger.c
@@ -30,7 +30,7 @@
#include <syslog.h>
#include <time.h>
-#include "log.h"
+#include "logger.h"
static struct event imsgev;
diff --git a/log.h b/logger.h
index 95d1b22..95d1b22 100644
--- a/log.h
+++ b/logger.h
diff --git a/mime.c b/mime.c
index 9197c8b..f493bb0 100644
--- a/mime.c
+++ b/mime.c
@@ -20,7 +20,7 @@
#include <stdlib.h>
#include <string.h>
-#include "log.h"
+#include "logger.h"
void
init_mime(struct mime *mime)
diff --git a/proxy.c b/proxy.c
index 3e5fa34..e64a9f1 100644
--- a/proxy.c
+++ b/proxy.c
@@ -20,7 +20,7 @@
#include <errno.h>
#include <string.h>
-#include "log.h"
+#include "logger.h"
#define MIN(a, b) ((a) < (b) ? (a) : (b))
diff --git a/sandbox.c b/sandbox.c
index d0d05b1..ddc6967 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -15,7 +15,7 @@
*/
#include "gmid.h"
-#include "log.h"
+#include "logger.h"
#if defined(__OpenBSD__)
diff --git a/server.c b/server.c
index 13bc1db..51ddef2 100644
--- a/server.c
+++ b/server.c
@@ -28,7 +28,7 @@
#include <limits.h>
#include <string.h>
-#include "log.h"
+#include "logger.h"
#define MIN(a, b) ((a) < (b) ? (a) : (b))
diff --git a/utils.c b/utils.c
index 7f9e74b..93e82c0 100644
--- a/utils.c
+++ b/utils.c
@@ -24,7 +24,7 @@
#include <openssl/x509_vfy.h>
#include <openssl/x509v3.h>
-#include "log.h"
+#include "logger.h"
int
starts_with(const char *str, const char *prefix)