@ -3,7 +3,7 @@
include config.mk
SRC = drw.c dwm.c util.c log.c
SRC = drw.c dwm.c util.c
OBJ = ${SRC:.c=.o}
all: options dwm dwm-msg
@ -6,11 +6,11 @@
#include "config.h"
#include "log.h"
void flog(char* fstr, ...) {
void flog(char* str) {
FILE* fp;
fp = fopen(logfile, "a");
fprintf(fp, fstr, ...);
fprintf(fp, str);
fclose(fp);
}
@ -1,3 +1,3 @@
/* See LICENSE file for copyright and license details. */
static void flog(char* fstr, ...);
static void flog(char* str);