mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-03 23:06:01 +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"
|
#include "database.h"
|
||||||
|
|
||||||
struct zathura_database_s {
|
struct zathura_database_s
|
||||||
|
{
|
||||||
sqlite3* session;
|
sqlite3* session;
|
||||||
};
|
};
|
||||||
|
|
||||||
zathura_database_t*
|
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));
|
zathura_database_t* db = g_malloc0(sizeof(zathura_database_t));
|
||||||
|
|
||||||
/* create bookmarks database */
|
/* create bookmarks database */
|
||||||
|
@ -51,7 +53,8 @@ zathura_db_init(const char* path) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
zathura_db_free(zathura_database_t* db) {
|
zathura_db_free(zathura_database_t* db)
|
||||||
|
{
|
||||||
if (db == NULL) {
|
if (db == NULL) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue