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:
Pavel Borzenkov 2011-09-21 11:22:12 +04:00 committed by Sebastian Ramacher
parent 9474332d09
commit 24081171db
3 changed files with 24 additions and 21 deletions

View file

@ -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;
}