citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 31b35bbd178c5ffc98106d813830f19ccb9de4d1
parent 95e09461321746bc012e58a251d366d5faa75457
Author: kyle <kyle@0x30.net>
Date:   Sat, 19 Nov 2016 18:43:21 -0700

src: remove unused #define and includes

Diffstat:
Msrc/rt.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/rt.c b/src/rt.c @@ -20,15 +20,13 @@ #include <err.h> #include <errno.h> /* EEXIST */ #include <fcntl.h> /* O_CREAT */ -#include <stddef.h> /* offsetof */ #include <stdlib.h> /* get{env,progname} */ -#include <string.h> /* strnlen */ +#include <string.h> /* strlcpy memcpy */ #include <unistd.h> /* get{cwd,pid,ppid,pgrp} */ #include "rt.h" /* struct citrun_{header,node} */ #include "version.h" -#define SHM_PATH "/tmp/citrun.shared" static int init = 0; static int shm_fd = 0;