2 # Generate topologically sorted list of manual chapters.
3 # Copyright (C) 1998-2016 Free Software Foundation, Inc.
4 # Written by Ulrich Drepper <drepper@cygnus.com>, 1998.
19 for (i =
0; i
< dnt
; ++i
) {
20 for (j =
0; j
< cnt
; ++j
) {
21 if (all
[j
] == from
[i
]) {
22 for (k = j
+ 1; k
< cnt
; ++k
) {
23 if (all
[k
] == to
[i
]) {
28 for (l = k
- 1; l
>= j
; --l
) {
43 for (i =
0; i
< cnt
; ++i
) {