Minor simplification to beep_em
This commit is contained in:
@@ -1321,15 +1321,12 @@ int BX_end_strcmp (const char *one, const char *two, int bytes)
|
|||||||
/* beep_em: Not hard to figure this one out */
|
/* beep_em: Not hard to figure this one out */
|
||||||
void BX_beep_em (int beeps)
|
void BX_beep_em (int beeps)
|
||||||
{
|
{
|
||||||
int cnt,
|
int i;
|
||||||
i;
|
|
||||||
|
|
||||||
for (cnt = beeps, i = 0; i < cnt; i++)
|
for (i = 0; i < beeps; i++)
|
||||||
term_beep();
|
term_beep();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
FILE *open_compression (char *executable, char *filename, int hook)
|
FILE *open_compression (char *executable, char *filename, int hook)
|
||||||
{
|
{
|
||||||
FILE *file_pointer = NULL;
|
FILE *file_pointer = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user