Remove redundant (void) parameter declarations

This commit is contained in:
Rangi42
2024-03-01 10:35:50 -05:00
parent 91d22f180e
commit e14ba664ea
38 changed files with 173 additions and 173 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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