summaryrefslogtreecommitdiff
path: root/assignment.c
diff options
context:
space:
mode:
Diffstat (limited to 'assignment.c')
-rw-r--r--assignment.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/assignment.c b/assignment.c
index afed56f..a4f4d03 100644
--- a/assignment.c
+++ b/assignment.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
+#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <limits.h>
@@ -76,10 +77,10 @@ DoAssign(void)
clock_t total_time = 0;
int iterations = 0;
static int num_arrays = 1;
- static int is_adjusted = FALSE;
+ static bool is_adjusted = false;
- if (is_adjusted == FALSE) {
- is_adjusted = TRUE;
+ if (is_adjusted == false) {
+ is_adjusted = true;
/*
** Self-is_adjustedment code. The system begins by working on 1
** array. If it does that in no time, then two arrays