aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-13 17:45:33 -0700
committerChristian Cunningham <cc@localhost>2022-02-13 17:45:33 -0700
commit1a5a0e5cd6f82535c80f7a88b2b4dfac222fa2bb (patch)
treecb2d3161723656116d3d91d234ff65a989f5d22c /include
parent1a3e539f46911081170c9b2515331cfed5c00f05 (diff)
Implement Lock on Drawer
Diffstat (limited to 'include')
-rw-r--r--include/graphics/drawer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/graphics/drawer.h b/include/graphics/drawer.h
index 67abca0..b654989 100644
--- a/include/graphics/drawer.h
+++ b/include/graphics/drawer.h
@@ -1,9 +1,12 @@
#ifndef GRAPHICS_DRAWER_H
#define GRAPHICS_DRAWER_H
+#include <util/lock.h>
+
struct Drawer {
unsigned int x;
unsigned int y;
+ struct Lock l;
};
void write_cchar(struct Drawer* d, char s, unsigned int c);