Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove references to malloc.h #109

Merged
merged 3 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CNFGFunctions.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ OTHER DEALINGS IN THE SOFTWARE.

//TODO: Refactor to remove malloc reliance.
#ifndef __clang__
#include <malloc.h>
#endif

int CNFGPenX, CNFGPenY;
Expand Down
1 change: 0 additions & 1 deletion CNFGHTTP.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@


#include <stdint.h>
#include <malloc.h>

typedef struct {
uint32_t state[5];
Expand Down
1 change: 0 additions & 1 deletion CNFGWinDriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "CNFG.h"
#include <windows.h>
#include <stdlib.h>
#include <malloc.h> //for alloca
#include <ctype.h>

HBITMAP CNFGlsBitmap;
Expand Down
1 change: 0 additions & 1 deletion CNFGXDriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>

#ifdef HAS_XINERAMA
#include <X11/extensions/shape.h>
Expand Down
8 changes: 0 additions & 8 deletions rawdraw_sf.h
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,6 @@ static inline void DumpObjectClassProperties( jobject objToDump )


#include <stdint.h>
#include <malloc.h>

typedef struct {
uint32_t state[5];
Expand Down Expand Up @@ -3357,7 +3356,6 @@ void CNFGHandleInput()

#include <windows.h>
#include <stdlib.h>
#include <malloc.h> //for alloca
#include <ctype.h>

HBITMAP CNFGlsBitmap;
Expand Down Expand Up @@ -5528,7 +5526,6 @@ void AndroidSendToBack( int param )

#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>

#ifdef HAS_XINERAMA
#include <X11/extensions/shape.h>
Expand Down Expand Up @@ -6509,11 +6506,6 @@ OTHER DEALINGS IN THE SOFTWARE.
#include "TextTool/FontData.h"
#endif

//TODO: Refactor to remove malloc reliance.
#ifndef __clang__
#include <malloc.h>
#endif

int CNFGPenX, CNFGPenY;
uint32_t CNFGBGColor;
uint32_t CNFGLastColor;
Expand Down
Loading