summaryrefslogtreecommitdiffstats
path: root/newlib/libc/posix/execl.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/posix/execl.c')
-rw-r--r--newlib/libc/posix/execl.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/newlib/libc/posix/execl.c b/newlib/libc/posix/execl.c
index 098005666..6acbe52ed 100644
--- a/newlib/libc/posix/execl.c
+++ b/newlib/libc/posix/execl.c
@@ -16,17 +16,19 @@ static char ***p_environ = &environ;
#include <stdarg.h>
int
-execl (_CONST char *path, _CONST char *arg0, ...)
+_DEFUN(execl, (path, arg0, ...),
+ _CONST char *path _AND
+ _CONST char *arg0 _DOTS)
#else
#include <varargs.h>
int
-execl (path, arg0, va_alist)
- _CONST char *path;
- _CONST char *arg0;
- va_dcl
+_DEFUN(execl, (path, arg0, va_alist),
+ _CONST char *path _AND
+ _CONST char *arg0 _AND
+ va_dcl)
#endif