From: Ulrich Drepper Date: Thu, 17 Feb 2000 00:28:13 +0000 (+0000) Subject: Rewrite __syscall_execve prototype to avoid warnings. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6def4fb11a9c71c95063f9f0822c6b585155a18;p=thirdparty%2Fglibc.git Rewrite __syscall_execve prototype to avoid warnings. --- diff --git a/sysdeps/unix/sysv/linux/execve.c b/sysdeps/unix/sysv/linux/execve.c index 9093dcf88c6..33da1f79051 100644 --- a/sysdeps/unix/sysv/linux/execve.c +++ b/sysdeps/unix/sysv/linux/execve.c @@ -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 #include -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)