/* modechange.c -- file mode manipulation
- Copyright (C) 1989, 1990, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1990, 1997, 1998, 1999 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#if STDC_HEADERS
# include <stdlib.h>
#else
-char *malloc;
+char *malloc ();
#endif
#ifndef NULL
change->next = talloc (struct mode_change);
if (change->next == NULL)
{
- mode_free (change);
+ mode_free (head);
return MODE_MEMORY_EXHAUSTED;
}
change = change->next;