Skip to content

Commit

Permalink
Need a void to avoid -Wstrict-prototypes error.
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Nov 25, 2024
1 parent 429c350 commit 45314f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ged/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ struct ged {

// Create and destroy a ged container. Handles all initialization - no
// need to call init or free using these routines.
GED_EXPORT struct ged *ged_create();
GED_EXPORT struct ged *ged_create(void);
GED_EXPORT void ged_destroy(struct ged *);

// If you create a ged container on the stack or without using create/destroy,
Expand Down
2 changes: 1 addition & 1 deletion src/libged/ged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ ged_init(struct ged *gedp)
}

struct ged *
ged_create()
ged_create(void)
{
struct ged *gedp;
BU_GET(gedp, struct ged);
Expand Down

0 comments on commit 45314f4

Please sign in to comment.