diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index 04a71b6..32b4c89 100644 --- a/src/utils.h +++ b/src/utils.h @@ -35,7 +35,8 @@ int systemf(const char *fmt, ...); FILE *popenf(const char *mode, const char *fmt, ...); char *shell_path_expand(const char *path); -char *device_lock(const char *path); +int device_lock(const char *path); +int device_unlock(int lock); int indexOfChar(const char *array, int len, char character); @@ -44,4 +45,4 @@ int indexOfChar(const char *array, int len, char character); #define indentf(n, format, args...) \ printf("%*s" format , n, "" , ## args) -#endif /* ~__UTILS_H */ +#endif /* ~__UTILS_H */
\ No newline at end of file |