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 \
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 \

2
fcgi.c
View File

@ -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

2
ge.c
View File

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

2
gmid.c
View File

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

View File

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

View File

2
mime.c
View File

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

View File

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

View File

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

View File

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

View File

@ -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)