mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-01 02:26:00 +01:00
Coding style fixes
No functional changes. Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com> Signed-off-by: Sebastian Ramacher <s.ramacher@gmx.at>
This commit is contained in:
parent
9474332d09
commit
24081171db
3 changed files with 24 additions and 21 deletions
|
@ -6,12 +6,14 @@
|
|||
|
||||
#include "database.h"
|
||||
|
||||
struct zathura_database_s {
|
||||
struct zathura_database_s
|
||||
{
|
||||
sqlite3* session;
|
||||
};
|
||||
|
||||
zathura_database_t*
|
||||
zathura_db_init(const char* path) {
|
||||
zathura_db_init(const char* path)
|
||||
{
|
||||
zathura_database_t* db = g_malloc0(sizeof(zathura_database_t));
|
||||
|
||||
/* create bookmarks database */
|
||||
|
@ -51,7 +53,8 @@ zathura_db_init(const char* path) {
|
|||
}
|
||||
|
||||
void
|
||||
zathura_db_free(zathura_database_t* db) {
|
||||
zathura_db_free(zathura_database_t* db)
|
||||
{
|
||||
if (db == NULL) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue