diff options
Diffstat (limited to 'jnlib/dotlock.h')
-rw-r--r-- | jnlib/dotlock.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jnlib/dotlock.h b/jnlib/dotlock.h index b2a0190d2..407a80b37 100644 --- a/jnlib/dotlock.h +++ b/jnlib/dotlock.h @@ -21,13 +21,13 @@ #define LIBJNLIB_DOTLOCK_H struct dotlock_handle; -typedef struct dotlock_handle *DOTLOCK; +typedef struct dotlock_handle *dotlock_t; void disable_dotlock (void); -DOTLOCK create_dotlock(const char *file_to_lock); -void destroy_dotlock ( DOTLOCK h ); -int make_dotlock (DOTLOCK h, long timeout); -int release_dotlock (DOTLOCK h); +dotlock_t create_dotlock (const char *file_to_lock); +void destroy_dotlock ( dotlock_t h ); +int make_dotlock (dotlock_t h, long timeout); +int release_dotlock (dotlock_t h); void dotlock_remove_lockfiles (void); #endif /*LIBJNLIB_DOTLOCK_H*/ |