about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2025-08-29 04:35:11 +0300
committerNakidai <nakidai@disroot.org>2025-08-29 04:35:11 +0300
commit793f83080b8eb91f8c70fadc5911d0ea4f9829ff (patch)
treed3c063ef4330ba02c986b8157e04eeee481dad6c
parent260faf6104c70a72a81b2c9a01253fff56dbac24 (diff)
downloadsami-793f83080b8eb91f8c70fadc5911d0ea4f9829ff.tar.gz
sami-793f83080b8eb91f8c70fadc5911d0ea4f9829ff.zip
Add SAMI__fd definition
So linker won't say that it's undeclared
-rw-r--r--sami.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sami.c b/sami.c
index 64adf0a..6c8d42b 100644
--- a/sami.c
+++ b/sami.c
@@ -9,6 +9,8 @@
 #include <sys/wait.h>
 
 
+int SAMI__fd;
+
 int SAMI_make(SAMI *actor, SAMI_Handler *handler, void *arg)
 {
 	int pair[2];