mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 19:22:05 +00:00
Remove redundant (void) parameter declarations
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
extern uint64_t nbSectionsToAssign;
|
||||
|
||||
// Assigns all sections a slice of the address space
|
||||
void assign_AssignSections(void);
|
||||
void assign_AssignSections();
|
||||
|
||||
// `free`s all assignment memory that was allocated
|
||||
void assign_Cleanup(void);
|
||||
void assign_Cleanup();
|
||||
|
||||
#endif // RGBDS_LINK_ASSIGN_H
|
||||
|
||||
@@ -15,12 +15,12 @@ void obj_ReadFile(char const *fileName, unsigned int i);
|
||||
/*
|
||||
* Perform validation on the object files' contents
|
||||
*/
|
||||
void obj_DoSanityChecks(void);
|
||||
void obj_DoSanityChecks();
|
||||
|
||||
/*
|
||||
* Evaluate all assertions
|
||||
*/
|
||||
void obj_CheckAssertions(void);
|
||||
void obj_CheckAssertions();
|
||||
|
||||
/*
|
||||
* Sets up object file reading
|
||||
@@ -31,6 +31,6 @@ void obj_Setup(unsigned int nbFiles);
|
||||
/*
|
||||
* `free`s all object memory that was allocated.
|
||||
*/
|
||||
void obj_Cleanup(void);
|
||||
void obj_Cleanup();
|
||||
|
||||
#endif // RGBDS_LINK_OBJECT_H
|
||||
|
||||
@@ -24,6 +24,6 @@ Section const *out_OverlappingSection(Section const *section);
|
||||
/*
|
||||
* Writes all output (bin, sym, map) files.
|
||||
*/
|
||||
void out_WriteFiles(void);
|
||||
void out_WriteFiles();
|
||||
|
||||
#endif // RGBDS_LINK_OUTPUT_H
|
||||
|
||||
@@ -28,6 +28,6 @@ void patch_CheckAssertions(std::deque<Assertion> &assertions);
|
||||
/*
|
||||
* Applies all SECTIONs' patches to them
|
||||
*/
|
||||
void patch_ApplyPatches(void);
|
||||
void patch_ApplyPatches();
|
||||
|
||||
#endif // RGBDS_LINK_PATCH_H
|
||||
|
||||
@@ -76,6 +76,6 @@ Section *sect_GetSection(std::string const &name);
|
||||
/*
|
||||
* Checks if all sections meet reasonable criteria, such as max size
|
||||
*/
|
||||
void sect_DoSanityChecks(void);
|
||||
void sect_DoSanityChecks();
|
||||
|
||||
#endif // RGBDS_LINK_SECTION_H
|
||||
|
||||
Reference in New Issue
Block a user