prototypes for asprintf

This commit is contained in:
dwarning 2007-11-28 17:38:00 +00:00
parent a5e71aa980
commit 0618ecbf8b
4 changed files with 16 additions and 14 deletions

View File

@ -8,9 +8,12 @@
$Id$
*/
#include <ngspice.h>
#include "ngspice.h"
#include <stdio.h>
#ifdef HAVE_LIBIBERTY_H /* asprintf */
#include <libiberty.h>
#undef AND /* obsolete macro in ansidecl.h */
#endif
#ifdef HAVE_STRING_H
#include <string.h>

View File

@ -5,12 +5,9 @@ Copyright 1991 Regents of the University of California. All rights reserved.
#include "ngspice.h"
#include "ivars.h"
#ifdef HAVE_STRING_H
#include <string.h>
#endif /* HAVE_STRING_H */
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_LIBIBERTY_H /* asprintf */
#include <libiberty.h>
#endif
char *Spice_Path;
char *News_File;

View File

@ -4,10 +4,10 @@ Author: 1988 Thomas L. Quarles
**********/
#include "ngspice.h"
#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#ifdef HAVE_LIBIBERTY_H /* asprintf */
#include <libiberty.h>
#undef AND /* obsolete macro in ansidecl.h */
#endif
#include <wordlist.h>

View File

@ -8,10 +8,12 @@ Author: 1985 Thomas L. Quarles
*/
#include "ngspice.h"
#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#ifdef HAVE_LIBIBERTY_H /* asprintf */
#include <libiberty.h>
#undef AND /* obsolete macro in ansidecl.h */
#endif
#include "fteext.h"
#include "ifsim.h"
#include "iferrmsg.h"