60
60
#include <time.h>
61
61
#include <string.h>
62
62
#include <errno.h>
63
+ #include <signal.h> //for kill
63
64
64
65
#ifndef timeval // for older systems
65
66
#include <sys/time.h>
@@ -142,7 +143,7 @@ int pipe2(int pipefd[2], int flags); //to avoid "implicit-function-declaration"
142
143
143
144
/***********************************************************************
144
145
**
145
- */ REBINT OS_Get_PID ()
146
+ */ REBINT OS_Get_PID (void )
146
147
/*
147
148
** Return the current process ID
148
149
**
@@ -153,7 +154,7 @@ int pipe2(int pipefd[2], int flags); //to avoid "implicit-function-declaration"
153
154
154
155
/***********************************************************************
155
156
**
156
- */ REBINT OS_Get_UID ()
157
+ */ REBINT OS_Get_UID (void )
157
158
/*
158
159
** Return the real user ID
159
160
**
@@ -186,7 +187,7 @@ int pipe2(int pipefd[2], int flags); //to avoid "implicit-function-declaration"
186
187
187
188
/***********************************************************************
188
189
**
189
- */ REBINT OS_Get_GID ()
190
+ */ REBINT OS_Get_GID (void )
190
191
/*
191
192
** Return the real group ID
192
193
**
@@ -219,7 +220,7 @@ int pipe2(int pipefd[2], int flags); //to avoid "implicit-function-declaration"
219
220
220
221
/***********************************************************************
221
222
**
222
- */ REBINT OS_Get_EUID ()
223
+ */ REBINT OS_Get_EUID (void )
223
224
/*
224
225
** Return the effective user ID
225
226
**
@@ -252,7 +253,7 @@ int pipe2(int pipefd[2], int flags); //to avoid "implicit-function-declaration"
252
253
253
254
/***********************************************************************
254
255
**
255
- */ REBINT OS_Get_EGID ()
256
+ */ REBINT OS_Get_EGID (void )
256
257
/*
257
258
** Return the effective group ID
258
259
**
0 commit comments