aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/dwm/util.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-06-06 11:04:36 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-06-06 11:04:36 -0700
commiteeb5831bb4d62c35eca6db333137a9b8bf682e6e (patch)
treeb4092fcd664633b6ad8a781e1a156226e723e999 /sys/cmd/dwm/util.c
parent0a8f62d8c7116be9e344f351df679599908fb29c (diff)
deprecated wayland
Diffstat (limited to 'sys/cmd/dwm/util.c')
-rw-r--r--sys/cmd/dwm/util.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/cmd/dwm/util.c b/sys/cmd/dwm/util.c
deleted file mode 100644
index 1875d89..0000000
--- a/sys/cmd/dwm/util.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include "dwm.h"
-
-void
-fatal(byte *fmt, ...)
-{
- va_list args;
- va_start(args, fmt);
-
- verrorf(fmt, args);
-
- va_end(args);
- exit(1);
-}
-
-void
-scale(struct wlr_box *box, float by)
-{
- box->x *= by;
- box->y *= by;
- box->height *= by;
- box->width *= by;
-}