Commit: 08f4cba421a0e0908ac929f82396d3b2f57f9582 Parent: deea1800ec71518161468c931dbac9ca4f6de5b1 Author: opask Date: Wed, 14 Nov 2018 10:05:02 -0700 add openbsd.c for openbsd specific code Diffstat:
M | Makefile | | | 2 | +- |
A | openbsd.c | | | 11 | +++++++++++ |
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile @@ -1,6 +1,6 @@ include config.mk -SRC = status.c linux.c +SRC = status.c linux.c openbsd.c OBJ = $(SRC:.c=.o) all: status diff --git a/openbsd.c b/openbsd.c @@ -0,0 +1,11 @@ +#include "status.h" + +#if defined(__OpenBSD__) + +int +getvol(const char *card, const char *output) +{ + return 0; +} + +#endif