mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Clean up unnecessary exports and add static keywords
This patch cleans up unnecessary exports from header files (there were only a few), as well as adds the static keyword to all symbols that aren't exported and are specific to a file. This helps the linker out in not doing any unnecessary work, speeding it up and avoiding silent symbol conflicts (otherwise two symbols with the same name (and type/signature in C++) would quietly resolve as okay by the linker).
This commit is contained in:
@@ -265,17 +265,6 @@ class editorclass{
|
||||
int currentghosts;
|
||||
};
|
||||
|
||||
void addedentity(int xp, int yp, int tp, int p1=0, int p2=0, int p3=0, int p4=0, int p5=320, int p6=240);
|
||||
|
||||
void removeedentity(int t);
|
||||
|
||||
int edentat(int xp, int yp);
|
||||
|
||||
|
||||
void fillbox(int x, int y, int x2, int y2, int c);
|
||||
|
||||
void fillboxabs(int x, int y, int x2, int y2, int c);
|
||||
|
||||
#if !defined(NO_EDITOR)
|
||||
void editorrender();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user