From 7223e0d6c15cede7fd1e93e57d8f0f25a5e7c678 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin <15944199+nekonomicon@users.noreply.github.com> Date: Mon, 19 Feb 2024 01:46:19 +0500 Subject: [PATCH] Fix C functions declarations. --- pm_shared/pm_shared.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pm_shared/pm_shared.c b/pm_shared/pm_shared.c index dec69184..b8112d7e 100644 --- a/pm_shared/pm_shared.c +++ b/pm_shared/pm_shared.c @@ -167,7 +167,7 @@ void PM_SortTextures( void ) } } -void PM_InitTextureTypes() +void PM_InitTextureTypes( void ) { char buffer[512]; int i, j; @@ -718,7 +718,7 @@ PM_CheckVelocity See if the player has a bogus velocity value. ================ */ -void PM_CheckVelocity() +void PM_CheckVelocity( void ) { int i; @@ -795,7 +795,7 @@ int PM_ClipVelocity( vec3_t in, vec3_t normal, vec3_t out, float overbounce ) return blocked; } -void PM_AddCorrectGravity() +void PM_AddCorrectGravity( void ) { float ent_gravity; @@ -816,7 +816,7 @@ void PM_AddCorrectGravity() PM_CheckVelocity(); } -void PM_FixupGravityVelocity() +void PM_FixupGravityVelocity( void ) { float ent_gravity; @@ -1070,7 +1070,7 @@ PM_WalkMove Only used by players. Moves along the ground when player is a MOVETYPE_WALK. ====================== */ -void PM_WalkMove() +void PM_WalkMove( void ) { //int clip; int oldonground; @@ -1511,7 +1511,7 @@ PM_CheckWater Sets pmove->waterlevel and pmove->watertype values. ============= */ -qboolean PM_CheckWater() +qboolean PM_CheckWater( void ) { vec3_t point; int cont; @@ -2259,7 +2259,7 @@ PM_AddGravity ============ */ -void PM_AddGravity() +void PM_AddGravity( void ) { float ent_gravity; @@ -2309,7 +2309,7 @@ PM_Physics_Toss() Dead player flying through air., e.g. ============ */ -void PM_Physics_Toss() +void PM_Physics_Toss( void ) { pmtrace_t trace; vec3_t move; @@ -2410,7 +2410,7 @@ PM_NoClip ==================== */ -void PM_NoClip() +void PM_NoClip( void ) { int i; vec3_t wishvel;