- [Syntactical changes only]

Fixed the indentation of some files.
This commit is contained in:
ccremers 2005-06-02 09:40:05 +00:00
parent 01124e2104
commit cd2ef14e4e
4 changed files with 18 additions and 16 deletions

View File

@ -65,7 +65,7 @@ roledefPrintGeneric (Roledef rd, int print_actor)
label = TermOp2 (label); label = TermOp2 (label);
} }
*/ */
label = deVar(rd->label); label = deVar (rd->label);
if (realTermTuple (label)) if (realTermTuple (label))
{ {
label = TermOp2 (label); label = TermOp2 (label);

View File

@ -10,7 +10,8 @@ static clock_t endwait = 0;
/** /**
* <= 0 means none. * <= 0 means none.
*/ */
void set_time_limit (int seconds) void
set_time_limit (int seconds)
{ {
if (seconds > 0) if (seconds > 0)
{ {
@ -25,13 +26,15 @@ void set_time_limit (int seconds)
} }
//! Retrieve time limit //! Retrieve time limit
int get_time_limit () int
get_time_limit ()
{ {
return time_max_seconds; return time_max_seconds;
} }
//! Check whether time limit has passed. //! Check whether time limit has passed.
int passed_time_limit () int
passed_time_limit ()
{ {
if (endwait <= 0) if (endwait <= 0)
{ {
@ -41,11 +44,10 @@ int passed_time_limit ()
{ {
struct tms t; struct tms t;
times(&t); times (&t);
if (t.tms_utime > endwait) if (t.tms_utime > endwait)
return 1; return 1;
else else
return 0; return 0;
} }
} }