summaryrefslogtreecommitdiff
path: root/gcc/ada/errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/errno.c')
-rw-r--r--gcc/ada/errno.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/errno.c b/gcc/ada/errno.c
index c1b8ec9485a..112e7be2d29 100644
--- a/gcc/ada/errno.c
+++ b/gcc/ada/errno.c
@@ -42,14 +42,13 @@
#include <errno.h>
int
-__get_errno()
+__get_errno(void)
{
return errno;
}
void
-__set_errno(err)
- int err;
+__set_errno(int err)
{
errno = err;
}