From d3157fb66d158c3f7073988cd5135da88a48a2f1 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 31 May 2004 17:15:08 +0200 Subject: [PATCH] sol2.h (__enable_execute_stack): ANSIfy function definition. * config/sol2.h (__enable_execute_stack): ANSIfy function definition. From-SVN: r82487 --- gcc/ChangeLog | 5 +++++ gcc/config/sol2.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 20c59e5f4c0..48c342de200 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-05-31 Eric Botcazou + + * config/sol2.h (__enable_execute_stack): ANSIfy function + definition. + 2004-05-31 Danny Smith * c-incpath.c (add_path): Canonicalize paths to use '/' if diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 8728cb79274..5dc489d36f2 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -194,8 +194,7 @@ static void check_enabling(void) \ \ extern void __enable_execute_stack (void *); \ void \ -__enable_execute_stack (addr) \ - void *addr; \ +__enable_execute_stack (void *addr) \ { \ if (!need_enable_exec_stack) \ return; \ -- 2.30.2