Skip to content

Commit

Permalink
add const qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
goatshriek committed Nov 26, 2023
1 parent cd09337 commit 475f4c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/private/target/sqlite3.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct sqlite3_target {
* TODO update
*/
void
destroy_sqlite3_target( struct sqlite3_target *target );
destroy_sqlite3_target( const struct sqlite3_target *target );

/**
* TODO update
Expand Down
2 changes: 1 addition & 1 deletion src/target/sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ stumpless_sqlite3_prepare( const struct stumpless_entry *entry,
/* private definitions */

void
destroy_sqlite3_target( struct sqlite3_target *target ) {
destroy_sqlite3_target( const struct sqlite3_target *target ) {
sqlite3_finalize( target->insert_stmts[0] );
config_destroy_mutex( &target->db_mutex );
free_mem( target );
Expand Down

0 comments on commit 475f4c9

Please sign in to comment.