Skip to content

Commit

Permalink
Fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mengyanshou committed Feb 25, 2024
1 parent 3621892 commit c7f400d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flutter_pty_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ FFI_PLUGIN_EXPORT int pty_getpid(PtyHandle *handle)
return handle->pid;
}

FFI_PLUGIN_EXPORT char *pty_error()
FFI_PLUGIN_EXPORT char *pty_error(void)
{
return NULL;
}

0 comments on commit c7f400d

Please sign in to comment.