This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via d604fc0f7d2b5cbe181d940451592fd280b88caf (commit)
from 23ffc3ab18812cf77888bd079ad061de6e02c430 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d604fc0f7d2b5cbe181d940451592fd280b88caf
Author: Andy Barajas <and...@gm...>
Date: Wed Jul 3 17:04:02 2024 -0700
Fix pty compile errors and warnings (#657)
-----------------------------------------------------------------------
Summary of changes:
examples/dreamcast/filesystem/pty/pty.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/dreamcast/filesystem/pty/pty.c b/examples/dreamcast/filesystem/pty/pty.c
index 3ab0168a..56d9ed7e 100644
--- a/examples/dreamcast/filesystem/pty/pty.c
+++ b/examples/dreamcast/filesystem/pty/pty.c
@@ -15,10 +15,11 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
+#include <stdlib.h>
int main(int argc, char* argv[]) {
/* Create a PTY pair */
- file_t master_fd = NULL, slave_fd = NULL;
+ file_t master_fd = -1, slave_fd = -1;
int retval = EXIT_SUCCESS;
if(fs_pty_create(NULL, 0, &master_fd, &slave_fd) < 0) {
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|