Browse Source

cleanup, ngspice/config.h is already in ngspice/ngspice.h, #1/2 (easy ones)

rlar 14 years ago
parent
commit
11579d9369
  1. 1
      src/frontend/com_ahelp.c
  2. 1
      src/frontend/com_asciiplot.c
  3. 1
      src/frontend/com_dump.c
  4. 1
      src/frontend/com_echo.c
  5. 2
      src/frontend/com_hardcopy.c
  6. 1
      src/frontend/com_help.c
  7. 1
      src/frontend/com_measure2.c
  8. 1
      src/frontend/com_plot.c
  9. 1
      src/frontend/com_rehash.c
  10. 1
      src/frontend/com_set.c
  11. 1
      src/frontend/com_shell.c
  12. 1
      src/frontend/com_shift.c
  13. 1
      src/frontend/com_state.c
  14. 1
      src/frontend/com_strcmp.c
  15. 1
      src/frontend/com_sysinfo.c
  16. 1
      src/frontend/com_unset.c
  17. 1
      src/frontend/help/help.c
  18. 1
      src/frontend/help/provide.c
  19. 1
      src/frontend/help/readhelp.c
  20. 1
      src/frontend/help/x11disp.c
  21. 1
      src/frontend/help/xdisplay.c
  22. 1
      src/frontend/parser/backq.c
  23. 1
      src/frontend/parser/complete.c
  24. 1
      src/frontend/parser/glob.c
  25. 1
      src/frontend/parser/input.c
  26. 1
      src/frontend/parser/lexical.c
  27. 1
      src/frontend/parser/numparse.c
  28. 1
      src/frontend/parser/std.c
  29. 1
      src/frontend/parser/unixcom.c
  30. 1
      src/frontend/plotting/plotit.c
  31. 1
      src/frontend/resource.c
  32. 1
      src/frontend/streams.c
  33. 1
      src/frontend/terminal.c
  34. 2
      src/frontend/variable.c
  35. 1
      src/maths/poly/interpolate.c
  36. 1
      src/misc/dup2.c
  37. 1
      src/misc/misc_time.c
  38. 1
      src/misc/wlist.c
  39. 1
      src/nghelp.c
  40. 1
      src/ngproc2mod.c
  41. 1
      src/spicelib/analysis/dcpss.c
  42. 1
      src/spicelib/analysis/dctran.c
  43. 1
      src/spicelib/devices/cktask.c
  44. 1
      src/spicelib/devices/cktbindnode.c
  45. 1
      src/spicelib/devices/dev.c
  46. 1
      src/spicelib/parser/inppas1.c
  47. 1
      src/spicelib/parser/inppas3.c
  48. 1
      src/spicelib/parser/ptfuncs.c

1
src/frontend/com_ahelp.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/com_asciiplot.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/com_dump.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/frontend/com_echo.c

@ -2,7 +2,6 @@
* com_echo.c * com_echo.c
************/ ************/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

2
src/frontend/com_hardcopy.c

@ -1,5 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/defines.h" #include "ngspice/defines.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/com_help.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/macros.h" #include "ngspice/macros.h"

1
src/frontend/com_measure2.c

@ -4,7 +4,6 @@
Patches by Bill Swartz from 2009-05-18 and 2009-08-21 are included. Patches by Bill Swartz from 2009-05-18 and 2009-08-21 are included.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/memory.h" #include "ngspice/memory.h"

1
src/frontend/com_plot.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/com_rehash.c

@ -2,7 +2,6 @@
* com_rehash.c * com_rehash.c
************/ ************/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/frontend/com_set.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/com_shell.c

@ -2,7 +2,6 @@
* com_shell.c * com_shell.c
************/ ************/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/frontend/com_shift.c

@ -2,7 +2,6 @@
* com_shift.c * com_shift.c
************/ ************/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/frontend/com_state.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/frontend/com_strcmp.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/com_sysinfo.c

@ -7,7 +7,6 @@
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"
#include "ngspice/fteext.h" #include "ngspice/fteext.h"

1
src/frontend/com_unset.c

@ -2,7 +2,6 @@
* com_unset.c * com_unset.c
************/ ************/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/macros.h" #include "ngspice/macros.h"

1
src/frontend/help/help.c

@ -8,7 +8,6 @@ Modified 1999 Emmanuel Rouat
* The main entry point for the help system. * The main entry point for the help system.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpstd.h" #include "ngspice/cpstd.h"
#include "ngspice/hlpdefs.h" #include "ngspice/hlpdefs.h"

1
src/frontend/help/provide.c

@ -12,7 +12,6 @@ Modified 1999 Emmanuel Rouat
* Toss the help window up on the screen, and deal with the graph... * Toss the help window up on the screen, and deal with the graph...
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpstd.h" #include "ngspice/cpstd.h"
#include "ngspice/hlpdefs.h" #include "ngspice/hlpdefs.h"

1
src/frontend/help/readhelp.c

@ -11,7 +11,6 @@ Modified 1999 Emmanuel Rouat
* when a complete match is not found - additional code based on code in MacSpice. * when a complete match is not found - additional code based on code in MacSpice.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpstd.h" #include "ngspice/cpstd.h"
#include "ngspice/hlpdefs.h" #include "ngspice/hlpdefs.h"

1
src/frontend/help/x11disp.c

@ -4,7 +4,6 @@ Author: Jeffrey M. Hsu
Modified 1999 Emmanuel Rouat Modified 1999 Emmanuel Rouat
**********/ **********/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#ifndef X_DISPLAY_MISSING #ifndef X_DISPLAY_MISSING

1
src/frontend/help/xdisplay.c

@ -4,7 +4,6 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
Modified 1999 Emmanuel Rouat Modified 1999 Emmanuel Rouat
**********/ **********/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpstd.h" #include "ngspice/cpstd.h"
#include "ngspice/hlpdefs.h" #include "ngspice/hlpdefs.h"

1
src/frontend/parser/backq.c

@ -7,7 +7,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
* Do backquote substitution on a word list. * Do backquote substitution on a word list.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"
#include "backq.h" #include "backq.h"

1
src/frontend/parser/complete.c

@ -13,7 +13,6 @@ Modified: 1999 Paolo Nenzi
* filename completion. * filename completion.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/fteext.h" #include "ngspice/fteext.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"

1
src/frontend/parser/glob.c

@ -7,7 +7,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
* Expand global characters. * Expand global characters.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"
#include "glob.h" #include "glob.h"

1
src/frontend/parser/input.c

@ -6,7 +6,6 @@ Author: 1988 Jeffrey M. Hsu
/* /*
* Stand-alone input routine. * Stand-alone input routine.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include <errno.h> #include <errno.h>

1
src/frontend/parser/lexical.c

@ -7,7 +7,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
* Initial lexer. * Initial lexer.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"

1
src/frontend/parser/numparse.c

@ -5,7 +5,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
/* This routine parses a number. */ /* This routine parses a number. */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/ftedefs.h" #include "ngspice/ftedefs.h"

1
src/frontend/parser/std.c

@ -8,7 +8,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
* Most moved to MISC/ * Most moved to MISC/
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpstd.h" #include "ngspice/cpstd.h"

1
src/frontend/parser/unixcom.c

@ -7,7 +7,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
* Routines to do execution of unix commands. * Routines to do execution of unix commands.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"
#include "unixcom.h" #include "unixcom.h"

1
src/frontend/plotting/plotit.c

@ -1,5 +1,4 @@
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/config.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"
#include "ngspice/graph.h" #include "ngspice/graph.h"

1
src/frontend/resource.c

@ -12,7 +12,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
* Others: Use original code with sbrk(0) and some "ugly hacks" * Others: Use original code with sbrk(0) and some "ugly hacks"
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"
#include "ngspice/ftedefs.h" #include "ngspice/ftedefs.h"

1
src/frontend/streams.c

@ -2,7 +2,6 @@
* streams.c * streams.c
************/ ************/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"

1
src/frontend/terminal.c

@ -9,7 +9,6 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
* can be written for every possible machine... * can be written for every possible machine...
*/ */
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/config.h"
#include <stdarg.h> #include <stdarg.h>

2
src/frontend/variable.c

@ -3,8 +3,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
**********/ **********/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/maths/poly/interpolate.c

@ -1,4 +1,3 @@
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"

1
src/misc/dup2.c

@ -1,5 +1,4 @@
/* Modified: 2000 AlansFixes */ /* Modified: 2000 AlansFixes */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "dup2.h" #include "dup2.h"

1
src/misc/misc_time.c

@ -6,7 +6,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
* Date and time utility functions * Date and time utility functions
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include <string.h> #include <string.h>
#include "misc_time.h" #include "misc_time.h"

1
src/misc/wlist.c

@ -5,7 +5,6 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
/* Wordlist manipulation stuff. */ /* Wordlist manipulation stuff. */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/bool.h" #include "ngspice/bool.h"
#include "ngspice/wordlist.h" #include "ngspice/wordlist.h"

1
src/nghelp.c

@ -7,7 +7,6 @@ Author: 1986 Wayne A. Christopher, U. C. Berkeley CAD Group
* The main routine for the help system in stand-alone mode. * The main routine for the help system in stand-alone mode.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/cpdefs.h" #include "ngspice/cpdefs.h"
#include "ngspice/hlpdefs.h" #include "ngspice/hlpdefs.h"

1
src/ngproc2mod.c

@ -3,7 +3,6 @@ Copyright 1990 Regents of the University of California. All rights reserved.
**********/ **********/
/* convert .process file to set of .model cards */ /* convert .process file to set of .model cards */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

1
src/spicelib/analysis/dcpss.c

@ -19,7 +19,6 @@
#include "../../frontend/fourier.h" #include "../../frontend/fourier.h"
#include "../../frontend/variable.h" #include "../../frontend/variable.h"
#include "ngspice/config.h"
#include "cktaccept.h" #include "cktaccept.h"
#include "ngspice/trandefs.h" #include "ngspice/trandefs.h"
#include "ngspice/fteext.h" #include "ngspice/fteext.h"

1
src/spicelib/analysis/dctran.c

@ -8,7 +8,6 @@ Modified: 2000 AlansFixes
--- ONLY, unlike spice2 routine with the same name! */ --- ONLY, unlike spice2 routine with the same name! */
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/config.h"
#include "ngspice/cktdefs.h" #include "ngspice/cktdefs.h"
#include "cktaccept.h" #include "cktaccept.h"
#include "ngspice/trandefs.h" #include "ngspice/trandefs.h"

1
src/spicelib/devices/cktask.c

@ -8,7 +8,6 @@ Author: 1985 Thomas L. Quarles
* Ask questions about a specified device. */ * Ask questions about a specified device. */
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/config.h"
#include "ngspice/devdefs.h" #include "ngspice/devdefs.h"
#include "ngspice/sperror.h" #include "ngspice/sperror.h"

1
src/spicelib/devices/cktbindnode.c

@ -9,7 +9,6 @@ Author: 1985 Thomas L. Quarles
* in the specified circuit. */ * in the specified circuit. */
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/config.h"
#include <stdio.h> #include <stdio.h>
#include "ngspice/devdefs.h" #include "ngspice/devdefs.h"
#include "ngspice/sperror.h" #include "ngspice/sperror.h"

1
src/spicelib/devices/dev.c

@ -28,7 +28,6 @@
* ENHANCEMENTS, OR MODIFICATIONS. */ * ENHANCEMENTS, OR MODIFICATIONS. */
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/config.h"
#include "assert.h" #include "assert.h"
#include "ngspice/devdefs.h" #include "ngspice/devdefs.h"

1
src/spicelib/parser/inppas1.c

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

1
src/spicelib/parser/inppas3.c

@ -4,7 +4,6 @@ Author: 1985 Thomas L. Quarles
Modified: AlansFixes Modified: AlansFixes
**********/ **********/
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include "ngspice/iferrmsg.h" #include "ngspice/iferrmsg.h"
#include "ngspice/ifsim.h" #include "ngspice/ifsim.h"

1
src/spicelib/parser/ptfuncs.c

@ -8,7 +8,6 @@ Author: 1987 Wayne A. Christopher, U. C. Berkeley CAD Group
* if their argument is out of range. * if their argument is out of range.
*/ */
#include "ngspice/config.h"
#include "ngspice/ngspice.h" #include "ngspice/ngspice.h"
#include <stdio.h> #include <stdio.h>
#include "ngspice/fteext.h" #include "ngspice/fteext.h"

Loading…
Cancel
Save