switchbrew / libnx

Library for Switch Homebrew

Home Page:https://switchbrew.github.io/libnx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warnings in pmbmInitialize and pmbmExit

crudelios opened this issue · comments

In:

/// Initialize pm:bm.
Result pmbmInitialize();
/// Exit pm:bm.
void pmbmExit();

Both functions generate a function declaration isn't a prototype [-Wstrict-prototypes] warning when using gcc.

void needs to be added as a "parameter" to both functions to fix the warning.

I know this is small, but it's also an easy fix.

commented

Good catch.