Browse Source

Fixed a couple of bugs in the files

pre-master-46
pnenzi 26 years ago
parent
commit
cdae0ed0b5
  1. 2
      src/frontend/com_history.c
  2. 2
      src/include/ngspice.h

2
src/frontend/com_history.c

@ -328,7 +328,7 @@ hprefix(char *buf)
void void
cp_addhistent(int event, wordlist *wlist) cp_addhistent(int event, wordlist *wlist)
{ {
/* MW. This test is not needed if everything works right */
/* MW. This test is not needed if everything works right
if (cp_lastone && !cp_lastone->hi_wlist) if (cp_lastone && !cp_lastone->hi_wlist)
fprintf(cp_err, "Internal error: bad history list\n"); */ fprintf(cp_err, "Internal error: bad history list\n"); */

2
src/include/ngspice.h

@ -13,7 +13,7 @@
#include <stddef.h> #include <stddef.h>
#ifdef HAVE_LIMITS_H #ifdef HAVE_LIMITS_H
# include <machine/limits.h>
# include <limits.h>
#endif #endif
#include "memory.h" #include "memory.h"

Loading…
Cancel
Save