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
-1
View File
@@ -1,5 +1,4 @@
#include "ngspice/config.h"
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/defines.h"
+1 -2
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() */
+1 -3
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"
-5
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"
+1 -1
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"
+7 -10
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 */
-3
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"
-1
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"
+1 -6
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
*-----------------*/
-1
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"
-2
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"
-1
View File
@@ -40,7 +40,6 @@ NON-STANDARD FEATURES
/*=== INCLUDE FILES ===*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
-2
View File
@@ -38,8 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
-3
View File
@@ -39,9 +39,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
//#include "misc.h"
-2
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"
-3
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"
-2
View File
@@ -39,8 +39,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"
-2
View File
@@ -38,8 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"
-1
View File
@@ -40,7 +40,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"
-3
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"
-3
View File
@@ -39,9 +39,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
#include "ngspice/cpstd.h"
-2
View File
@@ -50,8 +50,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/cktdefs.h"
//#include "util.h"
-3
View File
@@ -40,9 +40,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include <string.h>
#include "ngspice/ngspice.h"
//#include "misc.h"
-2
View File
@@ -49,8 +49,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
//#include "misc.h"
-1
View File
@@ -38,7 +38,6 @@ NON-STANDARD FEATURES
============================================================================*/
#include <stdio.h>
#include "ngspice/ngspice.h"
#include "ngspice/sperror.h"
#include "ngspice/gendefs.h"