first set of ANSI C changes: remove PARAMS

This commit is contained in:
Chet Ramey
2023-01-03 10:01:11 -05:00
parent b648a9ab79
commit 81e3a4fb07
232 changed files with 2607 additions and 3826 deletions
+3 -4
View File
@@ -77,7 +77,7 @@ typedef char *pointer;
#ifndef emacs
#define malloc xmalloc
extern pointer xmalloc ();
extern pointer xmalloc (size_t);
#endif
/* Define STACK_DIRECTION if you know the direction of stack
@@ -102,7 +102,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. */
@@ -156,8 +156,7 @@ static header *last_alloca_header = NULL; /* -> last alloca header. */
implementations of C, for example under Gould's UTX/32. */
pointer
alloca (size)
size_t size;
alloca (size_t size)
{
auto char probe; /* Probes stack depth: */
register char *depth = ADDRESS_FUNCTION (probe);