From eba917e0f52c45e06ba46ff374987ae19179cc30 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 23 Jan 2005 02:43:43 +0000 Subject: add softmodem support git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@22 e0b13411-74c3-0310-b366-a0654dd0340f --- src/lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lock.c') diff --git a/src/lock.c b/src/lock.c index 49a23f3..880ddb2 100644 --- a/src/lock.c +++ b/src/lock.c @@ -38,7 +38,7 @@ #include "lock.h" #include "util.h" -// Where do lockfiles reside? +/* Where do lockfiles reside? */ #ifndef LOCK_DIR #define LOCK_DIR "/var/lock" #endif @@ -157,7 +157,7 @@ int device_lock(const char *dev, const char *appname) { } -// Tries to lock the first free device, returns 0 on success +/* Tries to lock the first free device, returns 0 on success */ int device_lock_first(const char *appname, char *dev, size_t l) { int i, found = 0; @@ -178,7 +178,7 @@ int device_lock_first(const char *appname, char *dev, size_t l) { } } -// Deletes the lockfile +/* Deletes the lockfile */ void device_unlock(void) { if (lockfile) { unlink(lockfile); -- cgit