mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 19:47:31 +00:00
Minor function signature fixes
This commit is contained in:
parent
f168077635
commit
2f9acaeead
@ -226,7 +226,7 @@ static void trace_me (void) {
|
||||
}
|
||||
#endif
|
||||
|
||||
void handle_posix_error(int err) {
|
||||
static void handle_posix_error(int err) {
|
||||
switch (err) {
|
||||
case 0:
|
||||
// eprintf ("Success\n");
|
||||
@ -288,7 +288,7 @@ static RRunProfile* _get_run_profile(RIO *io, int bits, char **argv) {
|
||||
|
||||
#if __APPLE__ && !__POWERPC__
|
||||
|
||||
static void handle_redirection(char *path, int flag, posix_spawn_file_actions_t *fileActions, int fd) {
|
||||
static void handle_redirection(const char *path, int flag, posix_spawn_file_actions_t *fileActions, int fd) {
|
||||
int mode = S_IRUSR | S_IWUSR;
|
||||
posix_spawn_file_actions_addopen (fileActions, fd, path, flag, mode);
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ R_LIB_VERSION(r_socket);
|
||||
|
||||
#if NETWORK_DISABLED
|
||||
/* no network */
|
||||
R_API RSocket *r_socket_new (int is_ssl) {
|
||||
R_API RSocket *r_socket_new (bool is_ssl) {
|
||||
return NULL;
|
||||
}
|
||||
R_API bool r_socket_is_connected (RSocket *s) {
|
||||
|
Loading…
Reference in New Issue
Block a user