make functions static where possible
authorMatthias Braun <matze@braunis.de>
Mon, 16 Jul 2007 14:01:09 +0000 (14:01 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 16 Jul 2007 14:01:09 +0000 (14:01 +0000)
[r15164]

ir/be/test/QuickSort.c

index 6a20c2d..2bcedfc 100644 (file)
@@ -13,7 +13,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#define COUNTACTIONS
+//#define COUNTACTIONS
 
 #ifdef COUNTACTIONS
 // Variablen, in denen die Bewegungen und Vergleiche gespeichert werden
@@ -82,7 +82,7 @@ static void quicksort(int *fld, int l, int r ) {
        quicksort( fld, i+1, r );
 }
 
-int verify(int* fld, int count) {
+static int verify(int* fld, int count) {
     int i;
     int last = fld[0];
     for(i = 1; i < count; ++i) {