From 281a8852b3a2d76c10d2fb6476a706746d05509b Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Tue, 6 Jun 2023 08:50:54 +0000 Subject: [PATCH] rename log.[ch] to logger.[ch] --- Makefile | 8 ++++---- fcgi.c | 2 +- ge.c | 2 +- gmid.c | 2 +- log.c => logger.c | 2 +- log.h => logger.h | 0 mime.c | 2 +- proxy.c | 2 +- sandbox.c | 2 +- server.c | 2 +- utils.c | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) rename log.c => logger.c (99%) rename log.h => logger.h (100%) 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 #include -#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 #include -#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 #include -#include "log.h" +#include "logger.h" static const char *opts = "c:D:fhnP:Vv"; diff --git a/log.c b/logger.c similarity index 99% rename from log.c rename to logger.c index a6d21d5..872846a 100644 --- a/log.c +++ b/logger.c @@ -30,7 +30,7 @@ #include #include -#include "log.h" +#include "logger.h" static struct event imsgev; diff --git a/log.h b/logger.h similarity index 100% rename from log.h rename to 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 #include -#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 #include -#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 #include -#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 #include -#include "log.h" +#include "logger.h" int starts_with(const char *str, const char *prefix)