Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 beta 3/9/83; site vaxine.UUCP Path: utzoo!linus!vaxine!jwf From: jwf@vaxine.UUCP (Jim Franklin) Newsgroups: net.unix-wizards Subject: stdio.h, VAX versus SUN Message-ID: <314@vaxine.UUCP> Date: Tue, 10-Jul-84 18:58:53 EDT Article-I.D.: vaxine.314 Posted: Tue Jul 10 18:58:53 1984 Date-Received: Thu, 12-Jul-84 00:40:46 EDT Organization: Automatix Inc., Billerica, MA Lines: 16 In BSD 4.2, file /usr/include/stdio.h contains the following declaration for sprintf(): #ifdef vax char *sprintf(); /* too painful to do right */ #endif The same lines are present in /usr/include/stdio.h on our SUN 4.2 systems, where they make even less sense. Since "vax" is not #defined there, sprintf() is never declared to be char *. This causes subsequent problems with lint(). Can anyone tell me why the #ifdef vax lines are present on either system (VAX or SUN)?