Skip to content

Commit ae251a0

Browse files
committed
Fixed warning: no previous prototype for function 'GIP_ParseMetadata'
1 parent 193b0c8 commit ae251a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/joystick/hidapi/SDL_hidapi_gip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ static bool GIP_ParseMessageMetadata(GIP_MessageMetadata *metadata, const Uint8
916916
return true;
917917
}
918918

919-
bool GIP_ParseMetadata(GIP_Metadata *metadata, const Uint8* bytes, int num_bytes)
919+
static bool GIP_ParseMetadata(GIP_Metadata *metadata, const Uint8* bytes, int num_bytes)
920920
{
921921
int header_size;
922922
int metadata_size;

0 commit comments

Comments
 (0)