don't need string.h - comes from ngspice.h

This commit is contained in:
dwarning 2009-04-26 16:47:50 +00:00
parent 35a7e74140
commit ded9f403d7
4 changed files with 1 additions and 19 deletions

View File

@ -21,10 +21,6 @@ extern long int random (void);
extern void srandom (unsigned int seed);
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif /* HAVE_STRING_H */
#include <setjmp.h>
#include <signal.h>
#include <sys/types.h>

View File

@ -9,16 +9,12 @@ Copyright 1990 Regents of the University of California. All rights reserved.
*/
#include "ngspice.h"
#include <stdio.h>
#include "mktemp.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifndef TEMPFORMAT
#define TEMPFORMAT "temp%s%d"

View File

@ -6,13 +6,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
* String functions
*/
#include <config.h>
#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "ngspice.h"
#include "stringutil.h"

View File

@ -27,7 +27,7 @@
/* Header files for C functions */
/**********************************************************************/
#include <ngspice.h>
#include "ngspice.h"
#include <tcl.h>
/*Use Tcl threads if on W32 without pthreads*/
@ -60,9 +60,6 @@ typedef pthread_t threadId_t;
/* Copied from main.c in ngspice*/
#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif /* HAVE_STRING_H */
#if defined(__MINGW32__)
#include <stdarg.h>
/* remove type incompatibility with winnt.h*/