#ifdef SYSTEM_INCLUDE_DIR
{ SYSTEM_INCLUDE_DIR, 0},
#endif
-#ifndef NO_STANDARD_INCLUDE_DIR
{ STANDARD_INCLUDE_DIR, 0},
-#endif
#endif /* not CROSS_COMPILE */
{ 0, 0}
};
static const char *shortpath ();
\f
/* Allocate some space, but check that the allocation was successful. */
+/* alloca.c uses this, so don't make it static. */
-static pointer_type
+pointer_type
xmalloc (byte_count)
size_t byte_count;
{
/* Reallocate some space, but check that the reallocation was successful. */
-static pointer_type
+pointer_type
xrealloc (old_space, byte_count)
pointer_type old_space;
size_t byte_count;
the `const' qualifier from it and also make sure that the pointer value
is non-null. */
-static void
+void
xfree (p)
const_pointer_type p;
{
/* Make a copy of the compile_params in heap space. */
compile_params
- = (char **) xmalloc (sizeof (char *) * (param_count+1));
+ = (const char **) xmalloc (sizeof (char *) * (param_count+1));
memcpy (compile_params, temp_params, sizeof (char *) * param_count);
}