]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Rewrite __syscall_execve prototype to avoid warnings.
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Feb 2000 00:28:13 +0000 (00:28 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Feb 2000 00:28:13 +0000 (00:28 +0000)
sysdeps/unix/sysv/linux/execve.c

index 9093dcf88c6eb30fb273c59758296a8fdcb208cf..33da1f790515b1bcf4122d82715c9d95abb202a3 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,7 +22,8 @@
 #include <sysdep.h>
 #include <sys/syscall.h>
 
-extern int __syscall_execve (const char *file, char **argv, char **envp);
+extern int __syscall_execve (const char *file, char *const argv[],
+                            char *const envp[]);
 extern void __pthread_kill_other_threads_np __P ((void));
 weak_extern (__pthread_kill_other_threads_np)