summaryrefslogtreecommitdiffstats
path: root/libiberty/alloca.c
diff options
context:
space:
mode:
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);
OpenPOWER on IntegriCloud