Skip to content

Commit 710f92a

Browse files
committed
Fixed type. Added missing return.
1 parent c8a7ba0 commit 710f92a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unix_macro.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int c_scanf(const char *format, const char *arg)
7474
/* int uname(struct utsname *name) */
7575
int c_uname(struct utsname *name)
7676
{
77-
uname(name);
77+
return uname(name);
7878
}
7979

8080
/* void syslog(int priority, const char *format, ...) */

src/unix_types.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module unix_types
5555
integer, parameter, public :: c_off_t = c_int64_t
5656
integer, parameter, public :: c_pid_t = c_int32_t
5757
integer, parameter, public :: c_socklen_t = c_size_t
58-
integer, parameter, public :: c_speed_t = c_int
58+
integer, parameter, public :: c_speed_t = c_unsigned_int
5959
integer, parameter, public :: c_suseconds_t = c_long
6060
integer, parameter, public :: c_tcflag_t = c_unsigned_int
6161
integer, parameter, public :: c_time_t = c_int64_t

0 commit comments

Comments
 (0)