changed the #include order - ngspice.h must be first

because icc complains about declaration visibility of mmsghdr struct
This commit is contained in:
dwarning 2012-09-29 20:44:12 +02:00
parent ebfeaf72f1
commit 2506fe3858
25 changed files with 11 additions and 65 deletions

View File

@ -1,5 +1,4 @@
#include "ngspice/config.h"
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/defines.h"

View File

@ -21,11 +21,10 @@ Todo:
add support for nested .if .elsif .else .endif controls.
*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "general.h"
#include "numparam.h"
#include "ngspice/ngspice.h"
#include "ngspice/fteext.h" /* controlled_exit() */

View File

@ -4,12 +4,10 @@
Free software under the terms of the GNU Lesser General Public License
*/
#include <stdio.h> /* for function message() only. */
#include <stdarg.h>
#include "ngspice/ngspice.h"
#include "general.h"
#include "numparam.h"
#include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h"
#include "ngspice/ftedefs.h"
#include "ngspice/dvec.h"

View File

@ -7,11 +7,6 @@
Volume 83, Issue 5, May 1995 Page(s):802 - 827
*/
#include <math.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdarg.h> // var. argumente
#include "ngspice/ngspice.h"
#include "ngspice/cpextern.h"
#include "ngspice/cktdefs.h"

View File

@ -61,10 +61,10 @@ Normal (a very fast routine)
*/
/* ----------------- inclusions and some definitions ------------ */
#include <math.h>
#ifndef NOSPICE
#include "ngspice/ngspice.h"
#endif
#include <math.h>
#include "ngspice/FastNorm3.h"

View File

@ -4,8 +4,13 @@
//#define FASTNORM_ORIG
#include <stdio.h>
#include <stdlib.h>
#ifdef HasMain
#include <sys/timeb.h>
#else
#ifndef NOSPICE
#include "ngspice/ngspice.h"
#endif
#endif
#ifdef _MSC_VER
#include <process.h>
#define getpid _getpid
@ -16,14 +21,6 @@
#include "ngspice/wallace.h"
#include "ngspice/FastNorm3.h"
#ifdef HasMain
#include <sys/timeb.h>
#else
#ifndef NOSPICE
#include "ngspice/ngspice.h"
#endif
#endif
#define POOLSIZE 4096
#define LPOOLSIZE 12
#define NOTRANS 3 /* number of (dual) transformations */

View File

@ -4,9 +4,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
**********/
#include "ngspice/config.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "ngspice/ngspice.h"
#include "ngspice/bool.h"

View File

@ -13,7 +13,6 @@
Semiconductor Technology Academic Research Center (STARC)
***********************************************************************/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
#include "ngspice/sperror.h"

View File

@ -130,17 +130,12 @@ using the HiSIM2 standard.
/*---------------------------------------------------*
* Header files.
*-----------------*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
#include "ngspice/ngspice.h"
#ifdef __STDC__
/* #include <ieeefp.h> */
#endif
#include "ngspice/cktdefs.h"
#include "ngspice/ngspice.h"
/*-----------------------------------*
* HiSIM macros
*-----------------*/

View File

@ -13,7 +13,6 @@
Semiconductor Technology Academic Research Center (STARC)
***********************************************************************/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
#include "hsm2def.h"

View File

@ -3,8 +3,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
#include <stdio.h>
#include "ngspice/config.h"
#include "ngspice/ngspice.h"

View File

@ -40,7 +40,6 @@ NON-STANDARD FEATURES
/*=== INCLUDE FILES ===*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"

View File

@ -38,8 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"

View File

@ -39,9 +39,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
//#include "misc.h"

View File

@ -40,8 +40,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <string.h>
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"

View File

@ -38,9 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
//#include "misc.h"
#include "ngspice/cktdefs.h"

View File

@ -39,8 +39,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"

View File

@ -38,8 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"

View File

@ -40,7 +40,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"

View File

@ -37,9 +37,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
//nclude "misc.h"
#include "ngspice/evt.h"

View File

@ -39,9 +39,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
#include "ngspice/cpstd.h"

View File

@ -50,8 +50,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"

View File

@ -40,9 +40,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
//#include "misc.h"

View File

@ -49,8 +49,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
//#include "misc.h"

View File

@ -38,7 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"