style: attach_mode() -> attachMode()

This commit is contained in:
Isaac Freund 2020-08-24 11:50:38 +02:00
parent e92b6307d9
commit fd8c5e6410
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ const str_to_impl_fn = [_]struct {
name: []const u8,
impl: fn (*std.mem.Allocator, *Seat, []const []const u8, *?[]const u8) Error!void,
}{
.{ .name = "attach-mode", .impl = @import("command/attach_mode.zig").attach_mode },
.{ .name = "attach-mode", .impl = @import("command/attach_mode.zig").attachMode },
.{ .name = "background-color", .impl = @import("command/config.zig").backgroundColor },
.{ .name = "border-color-focused", .impl = @import("command/config.zig").borderColorFocused },
.{ .name = "border-color-unfocused", .impl = @import("command/config.zig").borderColorUnfocused },

View file

@ -22,7 +22,7 @@ const util = @import("../util.zig");
const Error = @import("../command.zig").Error;
const Seat = @import("../Seat.zig");
pub fn attach_mode(
pub fn attachMode(
allocator: *std.mem.Allocator,
seat: *Seat,
args: []const []const u8,