25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: misc.c,v 1.6 2006/12/30 13:30:52 debug Exp $ |
* $Id: misc.c,v 1.9 2007/06/15 17:02:38 debug Exp $ |
29 |
* |
* |
30 |
* This file contains things that don't fit anywhere else, and fake/dummy |
* This file contains things that don't fit anywhere else, and fake/dummy |
31 |
* implementations of libc functions that are missing on some systems. |
* implementations of libc functions that are missing on some systems. |
36 |
#include <string.h> |
#include <string.h> |
37 |
#include <fcntl.h> |
#include <fcntl.h> |
38 |
|
|
39 |
|
#include "cpu.h" |
40 |
#include "misc.h" |
#include "misc.h" |
41 |
|
|
42 |
|
|
157 |
} |
} |
158 |
#endif |
#endif |
159 |
|
|
160 |
|
|
161 |
|
/* |
162 |
|
* print_separator_line(): |
163 |
|
* |
164 |
|
* Prints a line of "----------". |
165 |
|
*/ |
166 |
|
void print_separator_line(void) |
167 |
|
{ |
168 |
|
int i = 79; |
169 |
|
while (i-- > 0) |
170 |
|
debug("-"); |
171 |
|
debug("\n"); |
172 |
|
} |
173 |
|
|