Removed logging

pull/26/head
E. Almqvist 4 years ago
parent c1aef916a0
commit 446e5dc442
  1. 2
      src/Makefile
  2. 4
      src/log.c
  3. 2
      src/log.h

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

Loading…
Cancel
Save