Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2010-01-05 11:39:38 (GMT)
committer Hib Eris <hib@hiberis.nl>2010-01-27 16:27:22 (GMT)
commit0526caefb3e35fe432e40fb9503d370907c9ef28 (patch)
treeaa76d504c26a96f960762915ba6df3138c725027 /backend
parent699a2bf967d6304b2409844e5bc44c82772041f4 (diff)
[dvi] Use ANSI C rand() instead of random()
Diffstat (limited to 'backend')
-rw-r--r--backend/dvi/mdvi-lib/dviread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/dvi/mdvi-lib/dviread.c b/backend/dvi/mdvi-lib/dviread.c
index d696d8a..285524e 100644
--- a/backend/dvi/mdvi-lib/dviread.c
+++ b/backend/dvi/mdvi-lib/dviread.c
@@ -359,7 +359,7 @@ static int sort_down(const void *p1, const void *p2)
}
static int sort_random(const void *p1, const void *p2)
{
- return (random() % 1) ? -1 : 1;
+ return (rand() % 1) ? -1 : 1;
}
static int sort_dvi_up(const void *p1, const void *p2)
{