Updated source to match SDL function prototype style

This commit is contained in:
Sam Lantinga
2023-05-23 10:59:03 -07:00
parent 92f72682e7
commit 3f1fd5abff
243 changed files with 1218 additions and 2364 deletions

View File

@@ -32,8 +32,7 @@
#define INCL_DOSERRORS
#include <os2.h>
void *
SDL_LoadObject(const char *sofile)
void *SDL_LoadObject(const char *sofile)
{
ULONG ulRC;
HMODULE hModule;
@@ -65,8 +64,7 @@ SDL_LoadObject(const char *sofile)
return (void *)hModule;
}
void *
SDL_LoadFunction(void *handle, const char *name)
void *SDL_LoadFunction(void *handle, const char *name)
{
ULONG ulRC;
PFN pFN;
@@ -90,8 +88,7 @@ SDL_LoadFunction(void *handle, const char *name)
return (void *)pFN;
}
void
SDL_UnloadObject(void *handle)
void SDL_UnloadObject(void *handle)
{
if (handle != NULL) {
DosFreeModule((HMODULE)handle);