X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=libiberty%2Falloca.c;h=866344429df24d88bbc5f167e88987bc12da6c4d;hb=306ab1664beeadd87a5f848a45c44ecf4b18d180;hp=918235df465203df525fe58b41afc9ab53b1a4cf;hpb=ba19b94f67aeec0722939ce17b4067c8fd05f4cc;p=deliverable%2Fbinutils-gdb.git 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);