summaryrefslogtreecommitdiff
path: root/test/misc/tst-scandir.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:52 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:52 +0100
commit9e552e6a2d836698834d2bf887dbf1806172729f (patch)
treea18af24a9786a3ed9aa69b3bfd69f8e2d6a3df88 /test/misc/tst-scandir.c
parent6f363f69221a6b40ef0f88631cd8d675465eb63d (diff)
test: tweaks
Fix arc4random exclusion for real. Silence warning about missing prototype for external helper-function in tst-scandir Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/misc/tst-scandir.c')
-rw-r--r--test/misc/tst-scandir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/misc/tst-scandir.c b/test/misc/tst-scandir.c
index df62a40d4..e1c72e3c9 100644
--- a/test/misc/tst-scandir.c
+++ b/test/misc/tst-scandir.c
@@ -3,7 +3,7 @@
#include <stdio.h> /* perror() */
#include <stdlib.h>
-int skip_all(const struct dirent *dirbuf)
+static int skip_all(const struct dirent *dirbuf)
{
errno = EBADF;
return 0;