if (getenv ("INNETSCAPE"))
innetscape = TRUE, nswin = getenv ("NSWIN");
if (!(pathp = malloc (PATHINCR * PATHSIZE)))
- panic (POS, "init", "pathp malloc failed");
+ panic1 (POS, "init", "pathp malloc failed");
if (!(cmdp = malloc (CMDINCR * CMDSIZE)))
- panic (POS, "init", "cmdp malloc failed");
+ panic1 (POS, "init", "cmdp malloc failed");
shellpath = getenv ("PATH");
#ifdef FEATURE_WIN32
GetModuleFileName (hinstance, buf, 260);
s1 = aout;
*s1 = 0;
if (!(leftypath = malloc (PATHINCR * PATHSIZE)))
- panic (POS, "init", "leftypath malloc failed");
+ panic1 (POS, "init", "leftypath malloc failed");
leftypath[0] = 0;
if ((s1 = getenv ("LEFTYPATH"))) {
strcat (leftypath, s1);
}
/* varargs function for printing an error message and aborting */
-void panic (char *file, int line, char *func, char *fmt, ...) {
+void panic1 (char *file, int line, char *func, char *fmt, ...) {
va_list args;
#ifndef FEATURE_MS
char *buildpath (char *, int);
char *buildcommand (char *, char *, int, int, char *);
void warning (char *, int, char *, char *, ...);
-void panic (char *, int, char *, char *, ...);
+void panic1 (char *, int, char *, char *, ...);
void panic2 (char *, int, char *, char *, ...);
#endif /* _COMMON_H */