projects
/
fortune-mod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b89bb1
)
win32 porting
author
Shlomi Fish
<shlomif@shlomifish.org>
Sat, 8 Jun 2019 18:42:39 +0000
(21:42 +0300)
committer
Shlomi Fish
<shlomif@shlomifish.org>
Sat, 8 Jun 2019 18:42:39 +0000
(21:42 +0300)
fortune-mod/fortune/fortune.c
patch
|
blob
|
history
diff --git
a/fortune-mod/fortune/fortune.c
b/fortune-mod/fortune/fortune.c
index 6f50cf44c0987b843e74bae2585de1a1e96cd7e4..42577eceee69ea37804da40420c554d3f17d6ae9 100644
(file)
--- a/
fortune-mod/fortune/fortune.c
+++ b/
fortune-mod/fortune/fortune.c
@@
-1707,7
+1707,7
@@
static int fortlen(void)
return nchar;
}
-static int max(register int i, register int j)
+static int m
ym
ax(register int i, register int j)
{
return (i >= j ? i : j);
}
@@
-1799,7
+1799,7
@@
int main(int ac, char *av[])
if (Wait)
{
fortlen();
- sleep((unsigned int) max(Fort_len / CPERS, MINW));
+ sleep((unsigned int) m
ym
ax(Fort_len / CPERS, MINW));
}
}
cleanup: