summaryrefslogtreecommitdiff
path: root/sd_messages
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-30 17:36:17 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-30 17:36:17 -0400
commitdc9fd4538267a3f793c9eee27c8bb118e784b778 (patch)
tree2a577888684de8a7d75591d07701761f1642fcd4 /sd_messages
parentcb4fea2e01e6923a016fdc57c48ee9d4045d8428 (diff)
sd_messages: Update messages.go.gen to work with systemd 233
Diffstat (limited to 'sd_messages')
-rwxr-xr-xsd_messages/messages.go.gen3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd_messages/messages.go.gen b/sd_messages/messages.go.gen
index 3314df3..d4e200c 100755
--- a/sd_messages/messages.go.gen
+++ b/sd_messages/messages.go.gen
@@ -22,6 +22,7 @@
1aimport "git.lukeshu.com/go/libsystemd/sd_id128"
1avar (
/^#define\s+SD_MESSAGE_/ {
+ /\\$/{N;s/\\\n//g;}
s/^#define\s+SD_MESSAGE_(\S*)/\1 =/
@@ -29,6 +30,8 @@
s/,/,0x/g
s/\)/}/
+ /SD_ID128_MAKE_STR/d
+
s/(^|_)([A-Z])([A-Z]*)/\U\2\L\3/g
p