aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-08-24 11:50:38 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-08-24 11:50:38 +0200
commitfd8c5e641023efd5cb85c377917d6cc29427ba17 (patch)
treeaf5d52677ded3b6bc402856ab97e44c98bf23ded
parente92b6307d9c1f4e2bdd2848ad1dc41b3bc53b822 (diff)
downloadriver-fd8c5e641023efd5cb85c377917d6cc29427ba17.tar.gz
river-fd8c5e641023efd5cb85c377917d6cc29427ba17.tar.xz
style: attach_mode() -> attachMode()
-rw-r--r--river/command.zig2
-rw-r--r--river/command/attach_mode.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/river/command.zig b/river/command.zig
index 7cb685e..8527c9f 100644
--- a/river/command.zig
+++ b/river/command.zig
@@ -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 },
diff --git a/river/command/attach_mode.zig b/river/command/attach_mode.zig
index a689893..7be7d28 100644
--- a/river/command/attach_mode.zig
+++ b/river/command/attach_mode.zig
@@ -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,