• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef HANOI_H
2 #define HANOI_H
3 
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
7 
8 extern void hanoi(int from, int to, int mid, int n,
9                   void (*callback)(int, int));
10 
11 #if defined(__cplusplus)
12 }
13 #endif
14 
15 #endif /* HANOI_H */
16