From d6def4fb11a9c71c95063f9f0822c6b585155a18 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Feb 2000 00:28:13 +0000 Subject: [PATCH] Rewrite __syscall_execve prototype to avoid warnings. --- sysdeps/unix/sysv/linux/execve.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.47.2