-/* $OpenBSD: parse.y,v 1.24 2020/11/09 04:22:05 tb Exp $ */
+/* $OpenBSD: parse.y,v 1.25 2021/02/27 10:32:28 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
conf = config_new_empty();
- file = pushfile(filename != NULL ? filename : CONF_FILE, 0);
+ file = pushfile(filename != NULL ? filename : _PATH_CONF_FILE, 0);
if (file == NULL) {
/* no default config file is fine */
if (errno == ENOENT && filename == NULL)
-/* $OpenBSD: unwind.c,v 1.60 2021/02/06 18:01:02 florian Exp $ */
+/* $OpenBSD: unwind.c,v 1.61 2021/02/27 10:32:28 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
int control_fd, ta_fd;
char *csock, *saved_argv0;
- csock = UNWIND_SOCKET;
+ csock = _PATH_UNWIND_SOCKET;
log_init(1, LOG_DAEMON); /* Log to stderr until daemonized. */
log_setverbose(1);
-/* $OpenBSD: unwind.h,v 1.53 2021/01/27 08:30:50 florian Exp $ */
+/* $OpenBSD: unwind.h,v 1.54 2021/02/27 10:32:28 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
#endif
-#define CONF_FILE "/etc/unwind.conf"
-#define UNWIND_SOCKET "/dev/unwind.sock"
-#define UNWIND_USER "_unwind"
+#define _PATH_CONF_FILE "/etc/unwind.conf"
+#define _PATH_UNWIND_SOCKET "/dev/unwind.sock"
+#define UNWIND_USER "_unwind"
#define OPT_VERBOSE 0x00000001
#define OPT_VERBOSE2 0x00000002
-/* $OpenBSD: unwindctl.c,v 1.26 2019/12/18 09:18:28 florian Exp $ */
+/* $OpenBSD: unwindctl.c,v 1.27 2021/02/27 10:32:29 florian Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
int ch, column_offset;
char *sockname;
- sockname = UNWIND_SOCKET;
+ sockname = _PATH_UNWIND_SOCKET;
while ((ch = getopt(argc, argv, "s:")) != -1) {
switch (ch) {
case 's':