diff options
author | 2019-05-26 15:58:13 +0300 | |
---|---|---|
committer | 2019-05-26 15:58:13 +0300 | |
commit | 81602e816f9d1e9ae0fa06482037e79bb8750806 (patch) | |
tree | 5cb4bb90fa9f6e1042077c2171b34eb07d7db436 /include | |
parent | 9e3e2a9d886f8191bccc69ccc356f683e4a0c561 (diff) | |
download | usurpation-81602e816f9d1e9ae0fa06482037e79bb8750806.tar.gz usurpation-81602e816f9d1e9ae0fa06482037e79bb8750806.tar.bz2 usurpation-81602e816f9d1e9ae0fa06482037e79bb8750806.zip |
daemon: improve threading logic on null proto.
Functions now prevent interruptions that can produce an inconsistent
state in the program.
Also, cosmetic changes.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'include')
-rw-r--r-- | include/proto_stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/proto_stdio.h b/include/proto_stdio.h index 81955a9..c54ef9c 100644 --- a/include/proto_stdio.h +++ b/include/proto_stdio.h @@ -25,6 +25,6 @@ int proto_stdio_init(void); void proto_stdio_close(void); void message_receive(char *); -char * message_send(void); +char *message_send(void); #endif /* USURPATION_PROTO_STDIO_H */ |