Revision: 56165
http://sourceforge.net/p/brlcad/code/56165
Author: n_reed
Date: 2013-07-20 14:01:30 +0000 (Sat, 20 Jul 2013)
Log Message:
-----------
bool may or not be defined already; just use int
Modified Paths:
--------------
brlcad/trunk/src/proc-db/cchannel.c
Modified: brlcad/trunk/src/proc-db/cchannel.c
===================================================================
--- brlcad/trunk/src/proc-db/cchannel.c 2013-07-20 13:22:59 UTC (rev 56164)
+++ brlcad/trunk/src/proc-db/cchannel.c 2013-07-20 14:01:30 UTC (rev 56165)
@@ -38,8 +38,6 @@
#include "wdb.h"
#include "ged.h"
-typedef int bool;
-
struct channel
{
double length;
@@ -52,7 +50,7 @@
double slope;
double topR;
double conversionFactor;
- bool holes;
+ int holes;
double holeR;
char filename[64];
};
@@ -170,7 +168,7 @@
}
static double
-convert(double a, bool all, struct channel *parameters)
+convert(double a, int all, struct channel *parameters)
{
if (all == 0){
a = a * parameters->conversionFactor;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits