summaryrefslogtreecommitdiff
path: root/signs.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 20:23:18 +0000
committertron <tron@openttd.org>2005-01-22 20:23:18 +0000
commit189ca7370762dca088a13d08ccb035e364758abb (patch)
treef77535f8809840126757131b192e611f6d912bdf /signs.c
parent7984a9a5007f4bdf1107cdf646c42e3e137f65cf (diff)
downloadopenttd-189ca7370762dca088a13d08ccb035e364758abb.tar.xz
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Diffstat (limited to 'signs.c')
-rw-r--r--signs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/signs.c b/signs.c
index 72cebbe31..c21e99c7b 100644
--- a/signs.c
+++ b/signs.c
@@ -22,7 +22,7 @@ static void UpdateSignVirtCoords(SignStruct *ss)
* Update the coordinates of all signs
*
*/
-void UpdateAllSignVirtCoords()
+void UpdateAllSignVirtCoords(void)
{
SignStruct *ss;
@@ -53,7 +53,7 @@ static void MarkSignDirty(SignStruct *ss)
*
* @return The pointer to the new sign, or NULL if there is no more free space
*/
-static SignStruct *AllocateSign()
+static SignStruct *AllocateSign(void)
{
SignStruct *s;
FOR_ALL_SIGNS(s)
@@ -173,7 +173,7 @@ void PlaceProc_Sign(uint tile)
* Initialize the signs
*
*/
-void InitializeSigns()
+void InitializeSigns(void)
{
SignStruct *s;
int i;
@@ -200,7 +200,7 @@ static const byte _sign_desc[] = {
* Save all signs
*
*/
-static void Save_SIGN()
+static void Save_SIGN(void)
{
SignStruct *s;
@@ -218,7 +218,7 @@ static void Save_SIGN()
* Load all signs
*
*/
-static void Load_SIGN()
+static void Load_SIGN(void)
{
int index;
while ((index = SlIterateArray()) != -1) {