Skip to content

Commit

Permalink
added missing void to empty_string_c
Browse files Browse the repository at this point in the history
  • Loading branch information
aiq committed Dec 8, 2022
1 parent d7c333a commit 16f7c7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/clingo/string/CString.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ typedef struct CString CString;

CLINGO_API CString* adopt_cstr_c( char cstr[static 1] );

CLINGO_API CString* empty_string_c();
CLINGO_API CString* empty_string_c( void );

CLINGO_API CString* make_string_c( cChars chars );

Expand Down
2 changes: 1 addition & 1 deletion src/clingo/string/CString.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ CString* adopt_cstr_c( char cstr[static 1] )

/**************************************/

CString* empty_string_c()
CString* empty_string_c( void )
{
if ( emptyString == NULL )
{
Expand Down

0 comments on commit 16f7c7e

Please sign in to comment.