ngspice/src/spicelib/parser/inpcfix.c

25 lines
392 B
C

/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Thomas L. Quarles
**********/
/*
*/
#include "ngspice.h"
#include <ctype.h>
#include "fteext.h"
#include "inpdefs.h"
#include "inp.h"
void INPcaseFix(register char *string)
{
while (*string) {
if (isupper(*string)) {
*string = (char) tolower(*string);
}
string++;
}
}