rename log.[ch] to logger.[ch]

This commit is contained in:
Omar Polo 2023-06-06 08:50:54 +00:00
parent 3dd89fbb44
commit 281a8852b3
11 changed files with 13 additions and 13 deletions

View File

@ -23,7 +23,7 @@ GMID_SRCS = config.c \
fcgi.c \ fcgi.c \
gmid.c \ gmid.c \
iri.c \ iri.c \
log.c \ logger.c \
mime.c \ mime.c \
proxy.c \ proxy.c \
puny.c \ puny.c \
@ -40,7 +40,7 @@ GE_SRCS = config.c \
fcgi.c \ fcgi.c \
ge.c \ ge.c \
iri.c \ iri.c \
log.c \ logger.c \
mime.c \ mime.c \
proxy.c \ proxy.c \
puny.c \ puny.c \
@ -58,7 +58,7 @@ GG_SRCS = gg.c \
GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS} GG_OBJS = ${GG_SRCS:.c=.o} ${COBJS}
SRCS = gmid.h \ SRCS = gmid.h \
log.h \ logger.h \
parse.y \ parse.y \
${GMID_SRCS} \ ${GMID_SRCS} \
${GE_SRCS} \ ${GE_SRCS} \
@ -158,7 +158,7 @@ DISTFILES = .cirrus.yml \
gmid.conf.5 \ gmid.conf.5 \
gmid.h \ gmid.h \
iri.c \ iri.c \
log.c \ logger.c \
mime.c \ mime.c \
parse.y \ parse.y \
proxy.c \ proxy.c \

2
fcgi.c
View File

@ -20,7 +20,7 @@
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include "log.h" #include "logger.h"
/* /*
* Sometimes it can be useful to inspect the fastcgi traffic as * Sometimes it can be useful to inspect the fastcgi traffic as

2
ge.c
View File

@ -28,7 +28,7 @@
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include "log.h" #include "logger.h"
struct imsgbuf ibuf, logibuf; struct imsgbuf ibuf, logibuf;
struct conf conf; struct conf conf;

2
gmid.c
View File

@ -29,7 +29,7 @@
#include <signal.h> #include <signal.h>
#include <string.h> #include <string.h>
#include "log.h" #include "logger.h"
static const char *opts = "c:D:fhnP:Vv"; static const char *opts = "c:D:fhnP:Vv";

View File

@ -30,7 +30,7 @@
#include <syslog.h> #include <syslog.h>
#include <time.h> #include <time.h>
#include "log.h" #include "logger.h"
static struct event imsgev; static struct event imsgev;

View File

2
mime.c
View File

@ -20,7 +20,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include "log.h" #include "logger.h"
void void
init_mime(struct mime *mime) init_mime(struct mime *mime)

View File

@ -20,7 +20,7 @@
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include "log.h" #include "logger.h"
#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b))

View File

@ -15,7 +15,7 @@
*/ */
#include "gmid.h" #include "gmid.h"
#include "log.h" #include "logger.h"
#if defined(__OpenBSD__) #if defined(__OpenBSD__)

View File

@ -28,7 +28,7 @@
#include <limits.h> #include <limits.h>
#include <string.h> #include <string.h>
#include "log.h" #include "logger.h"
#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b))

View File

@ -24,7 +24,7 @@
#include <openssl/x509_vfy.h> #include <openssl/x509_vfy.h>
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
#include "log.h" #include "logger.h"
int int
starts_with(const char *str, const char *prefix) starts_with(const char *str, const char *prefix)