summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Ørbekk <orbekk@pvv.ntnu.no>2008-09-08 00:28:56 +0200
committerKjetil Ørbekk <orbekk@pvv.ntnu.no>2008-09-08 00:28:56 +0200
commit8a49b269f5c49be0fb3519fda62d78078039f0fd (patch)
treea8808a379002f17fb3d6e9d93c1342910648b395
parent7a3b97bf1d1b53c9c6454515fb8cdbd51de71950 (diff)
- Emacs modelines
-rw-r--r--src/mfs_cleanup_db.c7
-rw-r--r--src/mfs_subr.c2
-rwxr-xr-xsrc/mfs_vnops.c2
-rwxr-xr-xsrc/musicfs.c2
4 files changed, 7 insertions, 6 deletions
diff --git a/src/mfs_cleanup_db.c b/src/mfs_cleanup_db.c
index e4eb70b..a15b127 100644
--- a/src/mfs_cleanup_db.c
+++ b/src/mfs_cleanup_db.c
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Musicfs is a FUSE module implementing a media filesystem in userland.
@@ -29,7 +29,7 @@
void
mfs_delete_from_path(sqlite3 *handle, const char *path) {
sqlite3_stmt *st;
- int res;
+ int res;
res = sqlite3_prepare_v2(handle, "DELETE FROM song WHERE "
"filepath LIKE (?||'%')", -1, &st, NULL);
@@ -60,7 +60,8 @@ void
mfs_cleanup_db(sqlite3 *handle)
{
DEBUG("cleaning up db\n");
- /* sqlite doesn't support deleting from multiple tables at the same time :-( */
+ /* sqlite doesn't support deleting from multiple tables at the
+ same time :-( */
sqlite3_stmt *st;
int res;
const char *path;
diff --git a/src/mfs_subr.c b/src/mfs_subr.c
index c6f2c7f..8db6d7a 100644
--- a/src/mfs_subr.c
+++ b/src/mfs_subr.c
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Musicfs is a FUSE module implementing a media filesystem in userland.
diff --git a/src/mfs_vnops.c b/src/mfs_vnops.c
index 03e5118..eeef2c6 100755
--- a/src/mfs_vnops.c
+++ b/src/mfs_vnops.c
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Musicfs is a FUSE module implementing a media filesystem in userland.
diff --git a/src/musicfs.c b/src/musicfs.c
index 4811cb9..faa740f 100755
--- a/src/musicfs.c
+++ b/src/musicfs.c
@@ -1,4 +1,4 @@
-/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Musicfs is a FUSE module implementing a media filesystem in userland.