liblockdev/liblockdev-1.0.3_1.6-gcc-11.0.patch

16 lines
368 B
Diff

--- lockdev-1.0.3/src/ttylock.h.orig 2021-08-24 19:07:37.210579510 +0200
+++ lockdev-1.0.3/src/ttylock.h 2021-08-24 19:07:44.530692451 +0200
@@ -36,12 +36,6 @@
/* API of the library */
-int ttylock (char * devname);
-int ttywait (char * devname);
-int ttyunlock (char * devname);
-int ttylocked (char * devname);
-
-
static inline int
ttylock(char *devname)
{