From 94760394b4b57fec09f4fed214dd2bf70993c857 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 21 Apr 2020 16:29:17 +0200 Subject: Bikeshed variable names --- src/root.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/root.zig') diff --git a/src/root.zig b/src/root.zig index 7246577..9623230 100644 --- a/src/root.zig +++ b/src/root.zig @@ -154,7 +154,7 @@ pub const Root = struct { // TODO: log failure to create timer and commit immediately self.transaction_timer = c.wl_event_loop_add_timer( self.server.wl_event_loop, - handle_timeout, + handleTimeout, self, ); @@ -167,7 +167,7 @@ pub const Root = struct { } } - fn handle_timeout(data: ?*c_void) callconv(.C) c_int { + fn handleTimeout(data: ?*c_void) callconv(.C) c_int { const root = @ptrCast(*Root, @alignCast(@alignOf(*Root), data)); Log.Error.log("Transaction timed out. Some imperfect frames may be shown.", .{}); -- cgit v1.2.3