projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
563c63c
)
make functions static where possible
author
Matthias Braun
<matze@braunis.de>
Mon, 16 Jul 2007 14:01:09 +0000
(14:01 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 16 Jul 2007 14:01:09 +0000
(14:01 +0000)
[r15164]
ir/be/test/QuickSort.c
patch
|
blob
|
history
diff --git
a/ir/be/test/QuickSort.c
b/ir/be/test/QuickSort.c
index
6a20c2d
..
2bcedfc
100644
(file)
--- a/
ir/be/test/QuickSort.c
+++ b/
ir/be/test/QuickSort.c
@@
-13,7
+13,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#define COUNTACTIONS
+
//
#define COUNTACTIONS
#ifdef COUNTACTIONS
// Variablen, in denen die Bewegungen und Vergleiche gespeichert werden
#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 );
}
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) {
int i;
int last = fld[0];
for(i = 1; i < count; ++i) {