]> andersk Git - moira.git/commitdiff
don't use stdio internals
authormar <mar>
Mon, 19 Mar 1990 18:14:15 +0000 (18:14 +0000)
committermar <mar>
Mon, 19 Mar 1990 18:14:15 +0000 (18:14 +0000)
/

update/log.c

index a94fe32d88ce87e52b76b2d08ec15ab782eea921..b62023dfab79859b7296c20fb54b0aa70f629d2d 100644 (file)
@@ -56,9 +56,7 @@ void mr_update_com_err_hook(whoami, code, fmt, args)
     va_list args;
 {
     char buf[BUFSIZ], *cp;
-#ifndef __STDC__
     FILE _strbuf;
-#endif
 
 #ifndef use_syslog
     strcpy(buf, whoami);
@@ -75,7 +73,7 @@ void mr_update_com_err_hook(whoami, code, fmt, args)
        while (*cp)
            cp++;
     }
-#ifdef __STDC__
+#if defined(AIX386) || defined(sun)
     vsprintf(cp, fmt, args);
 #else
     _strbuf._flag = _IOWRT+_IOSTRG;
This page took 0.032588 seconds and 5 git commands to generate.