summaryrefslogtreecommitdiff
path: root/libiberty/alloca.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-03-27 05:28:42 +0000
committerDJ Delorie <dj@delorie.com>2005-03-27 05:28:42 +0000
commit6af169b4d4f7af7c690cda36379fe1dab827acd0 (patch)
tree7ba3443e1f191333c1dd2fba6f4ba208e6e7c0ad /libiberty/alloca.c
parent2a92a8554f1fb97675a7d58925f50fb8165c0e27 (diff)
downloadbinutils-redhat-6af169b4d4f7af7c690cda36379fe1dab827acd0.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/alloca.c')
-rw-r--r--libiberty/alloca.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libiberty/alloca.c b/libiberty/alloca.c
index 918235df46..866344429d 100644
--- a/libiberty/alloca.c
+++ b/libiberty/alloca.c
@@ -97,7 +97,7 @@ static int stack_dir; /* 1 or -1 once known. */
#define STACK_DIR stack_dir
static void
-find_stack_direction ()
+find_stack_direction (void)
{
static char *addr = NULL; /* Address of first `dummy', once known. */
auto char dummy; /* To get stack address. */
@@ -153,8 +153,7 @@ static header *last_alloca_header = NULL; /* -> last alloca header. */
/* @undocumented C_alloca */
PTR
-C_alloca (size)
- size_t size;
+C_alloca (size_t size)
{
auto char probe; /* Probes stack depth: */
register char *depth = ADDRESS_FUNCTION (probe);