summaryrefslogtreecommitdiffstats
path: root/g10/gpgv.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-09-23 14:43:58 +0200
committerWerner Koch <wk@gnupg.org>2011-09-23 14:43:58 +0200
commitb73ae3ca36547939c9aaf54c0d05fbc93d47c096 (patch)
tree3e7dfac40a0da7a3a03336713a642ca093d5f6f7 /g10/gpgv.c
parentRemove support for RISCOS from dotlock.c (diff)
downloadgnupg2-b73ae3ca36547939c9aaf54c0d05fbc93d47c096.tar.xz
gnupg2-b73ae3ca36547939c9aaf54c0d05fbc93d47c096.zip
Renamed the lock functions.
Also cleaned up the dotlock code for easier readability.
Diffstat (limited to 'g10/gpgv.c')
-rw-r--r--g10/gpgv.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/g10/gpgv.c b/g10/gpgv.c
index 9f46ab39c..9328343a1 100644
--- a/g10/gpgv.c
+++ b/g10/gpgv.c
@@ -163,7 +163,7 @@ main( int argc, char **argv )
tty_no_terminal(1);
tty_batchmode(1);
- disable_dotlock();
+ dotlock_disable ();
pargs.argc = &argc;
pargs.argv = &argv;
@@ -502,25 +502,25 @@ agent_scd_getattr (const char *name, struct agent_card_info_s *info)
/* We do not do any locking, so use these stubs here */
void
-disable_dotlock (void)
+dotlock_disable (void)
{
}
dotlock_t
-create_dotlock (const char *file_to_lock)
+dotlock_create (const char *file_to_lock)
{
(void)file_to_lock;
return NULL;
}
void
-destroy_dotlock (dotlock_t h)
+dotlock_destroy (dotlock_t h)
{
(void)h;
}
int
-make_dotlock (dotlock_t h, long timeout)
+dotlock_take (dotlock_t h, long timeout)
{
(void)h;
(void)timeout;
@@ -528,14 +528,14 @@ make_dotlock (dotlock_t h, long timeout)
}
int
-release_dotlock (dotlock_t h)
+dotlock_release (dotlock_t h)
{
(void)h;
return 0;
}
void
-remove_lockfiles (void)
+dotlock_remove_lockfiles (void)
{
}