Diffstat (limited to 'noncore/apps/opie-reader/ppm.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/ppm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/ppm.cpp b/noncore/apps/opie-reader/ppm.cpp index e8bf110..1face46 100644 --- a/noncore/apps/opie-reader/ppm.cpp +++ b/noncore/apps/opie-reader/ppm.cpp | |||
@@ -1,27 +1,26 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
2 | #include <stdio.h> | 2 | #include <stdio.h> |
3 | #include "arith.h" | ||
4 | #include "ppm.h" | 3 | #include "ppm.h" |
5 | 4 | ||
6 | /**************************************************************************** | 5 | /**************************************************************************** |
7 | * Gestion des noeuds | 6 | * Gestion des noeuds |
8 | ****************************************************************************/ | 7 | ****************************************************************************/ |
9 | 8 | ||
10 | /* | 9 | /* |
11 | * Désallocation du noeud p | 10 | * Désallocation du noeud p |
12 | */ | 11 | */ |
13 | 12 | ||
14 | void ppm_worker::Node_Free(UINT p) { | 13 | void ppm_worker::Node_Free(UINT p) { |
15 | node_heap[node_free_last].free_next=p; | 14 | node_heap[node_free_last].free_next=p; |
16 | node_heap[p].free_next=NIL; | 15 | node_heap[p].free_next=NIL; |
17 | node_free_last=p; | 16 | node_free_last=p; |
18 | node_free_nb++; | 17 | node_free_nb++; |
19 | } | 18 | } |
20 | 19 | ||
21 | /* | 20 | /* |
22 | * Allocation d'un noeud | 21 | * Allocation d'un noeud |
23 | * s'il ne reste plus de place, on désalloue le contexte le moins utilisé. | 22 | * s'il ne reste plus de place, on désalloue le contexte le moins utilisé. |
24 | */ | 23 | */ |
25 | 24 | ||
26 | UINT ppm_worker::Node_Alloc(void) { | 25 | UINT ppm_worker::Node_Alloc(void) { |
27 | UINT p; | 26 | UINT p; |