aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-22 18:31:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-22 18:31:25 +0000
commit10eda1faa5176853c30beee56578b51fa5750f5c (patch)
treec995667a4713f729703cc9fd53a8cff0646c3679 /terminal.c
parentMerge branch 'footclient-m-flag' (diff)
parentpkgbuild: revert accidental update of version (diff)
Merge branch 'pgo'
Closes #107
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 2c5e0a85..f78e103c 100644
--- a/terminal.c
+++ b/terminal.c
@@ -198,7 +198,9 @@ fdm_ptmx_out(struct fdm *fdm, int fd, int events, void *data)
static struct timespec last = {0};
#endif
-static bool
+/* Externally visible, but not declared in terminal.h, to enable pgo
+ * to call this function directly */
+bool
fdm_ptmx(struct fdm *fdm, int fd, int events, void *data)
{
struct terminal *term = data;