aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-13 18:24:57 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-05-13 18:24:57 +0200
commit633f43164d8245e388a71ab499aff4b3b2b79ceb (patch)
treeea2c7d11dc5219002e0492a7e60a619d2865f9cd /src/common/compat.h
parent097fc9bdb386705a63a8021d5467266a70e22a6e (diff)
downloadblogc-633f43164d8245e388a71ab499aff4b3b2b79ceb.tar.gz
blogc-633f43164d8245e388a71ab499aff4b3b2b79ceb.tar.bz2
blogc-633f43164d8245e388a71ab499aff4b3b2b79ceb.zip
make: git-receiver: fixed conversion from wait status to status code
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
new file mode 100644
index 0000000..021dc6e
--- /dev/null
+++ b/src/common/compat.h
@@ -0,0 +1,14 @@
+/*
+ * blogc: A blog compiler.
+ * Copyright (C) 2014-2017 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+ *
+ * This program can be distributed under the terms of the BSD License.
+ * See the file LICENSE.
+ */
+
+#ifndef _COMPAT_H
+#define _COMPAT_H
+
+int bc_compat_status_code(int waitstatus);
+
+#endif /* _COMPAT_H */