Skip to content

Commit 42b89be

Browse files
committed
Remove unimplemented locks
The unimplemented twin_pixmap_lock/unlock and twin_screen_lock/unlock are explicitly removed.
1 parent 31da924 commit 42b89be

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/twin_private.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -788,8 +788,6 @@ void twin_composite_stroke(twin_pixmap_t *dst,
788788
void twin_event_enqueue(const twin_event_t *event);
789789

790790
/* Internal pixmap operations */
791-
void twin_pixmap_lock(twin_pixmap_t *pixmap);
792-
void twin_pixmap_unlock(twin_pixmap_t *pixmap);
793791
twin_pointer_t twin_pixmap_pointer(twin_pixmap_t *pixmap,
794792
twin_coord_t x,
795793
twin_coord_t y);
@@ -799,8 +797,6 @@ void twin_pixmap_offset(twin_pixmap_t *pixmap,
799797
twin_coord_t offy);
800798

801799
/* Internal screen operations */
802-
void twin_screen_lock(twin_screen_t *screen);
803-
void twin_screen_unlock(twin_screen_t *screen);
804800
void twin_screen_enable_update(twin_screen_t *screen);
805801
void twin_screen_disable_update(twin_screen_t *screen);
806802
void twin_screen_register_damaged(twin_screen_t *screen,

0 commit comments

Comments
 (0)