Skip to content

Commit

Permalink
Fix compilation warning about prototypes
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Mar 21, 2023
1 parent e353759 commit be0b298
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/macos.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ SEXP ps__pids() {
return R_NilValue;
}

SEXP ps__define_tcp_statuses() {
SEXP ps__define_tcp_statuses(void) {
SEXP result, names;

PROTECT(result = allocVector(INTSXP, 12));
Expand Down
2 changes: 1 addition & 1 deletion src/windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ SEXP psw__realpath(SEXP path) {
return res;
}

SEXP ps__define_tcp_statuses() {
SEXP ps__define_tcp_statuses(void) {
SEXP result, names;

PROTECT(result = allocVector(INTSXP, 13));
Expand Down

0 comments on commit be0b298

Please sign in to comment.