Skip to content

Commit

Permalink
Clean up includes
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaulgilman committed Oct 21, 2024
1 parent a8b13d1 commit 467cd1c
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 54 deletions.
6 changes: 6 additions & 0 deletions shared/lib_financial.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define __lib_financial_h

#include <vector>
#include <sstream>

#ifndef WIN32
#include <float.h>
#endif


namespace libfin {
double min(double a, double b);
Expand Down
4 changes: 0 additions & 4 deletions ssc/cmod_cashloan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,12 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sstream>
#include <vector>

#include "core.h"
#include "lib_financial.h"
#include "lib_util.h"
#include "common_financial.h"

#include <sstream>

static var_info vtab_cashloan[] = {
/* VARTYPE DATATYPE NAME LABEL UNITS META GROUP REQUIRED_IF CONSTRAINTS UI_HINTS*/

Expand Down
6 changes: 0 additions & 6 deletions ssc/cmod_communitysolar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "common_financial.h"
#include "lib_financial.h"

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif

static var_info _cm_vtab_communitysolar[] = {

/* VARTYPE DATATYPE NAME LABEL UNITS META GROUP REQUIRED_IF CONSTRAINTS UI_HINTS*/
Expand Down
7 changes: 0 additions & 7 deletions ssc/cmod_equpartflip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,10 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif

/*
Very close to cmod_levpartflip

Expand Down
7 changes: 0 additions & 7 deletions ssc/cmod_host_developer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,10 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif

static var_info _cm_vtab_host_developer[] = {

/* VARTYPE DATATYPE NAME LABEL UNITS META GROUP REQUIRED_IF CONSTRAINTS UI_HINTS*/
Expand Down
8 changes: 0 additions & 8 deletions ssc/cmod_levpartflip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif


static var_info _cm_vtab_levpartflip[] = {


Expand Down
5 changes: 0 additions & 5 deletions ssc/cmod_merchantplant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif
#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"
Expand Down
8 changes: 0 additions & 8 deletions ssc/cmod_saleleaseback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif


static var_info _cm_vtab_saleleaseback[] = {


Expand Down
7 changes: 0 additions & 7 deletions ssc/cmod_singleowner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,10 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


#include "common_financial.h"
#include "common.h"
#include "lib_financial.h"

#include <sstream>

#ifndef WIN32
#include <float.h>
#endif

static var_info _cm_vtab_singleowner[] = {

/* VARTYPE DATATYPE NAME LABEL UNITS META GROUP REQUIRED_IF CONSTRAINTS UI_HINTS*/
Expand Down
2 changes: 0 additions & 2 deletions ssc/cmod_thirdpartyownership.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "core.h"
#include "lib_financial.h"
#include "common_financial.h"
#include <sstream>


static var_info vtab_thirdpartyownership[] = {
/* VARTYPE DATATYPE NAME LABEL UNITS META GROUP REQUIRED_IF CONSTRAINTS UI_HINTS*/
Expand Down

0 comments on commit 467cd1c

Please sign in to comment.