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