blob: 5d621e2de638a34f412c91dee3692120882b000e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Use void so that clang does not complain about missing (unused)
return value, and also add missing string.h.
https://bugs.gentoo.org/730848
--- a/src/ranking.c
+++ b/src/ranking.c
@@ -1,2 +1,3 @@
#include <pwd.h>
+#include <string.h>
#include "geki2.h"
@@ -7,3 +8,3 @@
**********************/
-int ScoreRanking(void)
+void ScoreRanking(void)
{
--- a/src/ranking.h
+++ b/src/ranking.h
@@ -3,2 +3,3 @@
+void ScoreRanking(void);
void RankingScore(void);
|