libnbd/0008-generator-Remove-some-extraneous-blank-lines-from-ge.patch

30 lines
802 B
Diff
Raw Normal View History

From 6a4724eba9685ee56ba0509b033b83670edd5328 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Sat, 3 Aug 2019 15:07:07 +0100
Subject: [PATCH 08/11] generator: Remove some extraneous blank lines from
generated libnbd.h file.
---
generator/generator | 2 --
1 file changed, 2 deletions(-)
diff --git a/generator/generator b/generator/generator
index 6f89792..4de79ca 100755
--- a/generator/generator
+++ b/generator/generator
@@ -3417,11 +3417,9 @@ let generate_include_libnbd_h () =
List.iter (
fun (name, { args; ret }) -> print_extern_and_define name args ret
) handle_calls;
- pr "\n";
List.iter (
fun (ns, ctxts) -> print_ns ns ctxts
) metadata_namespaces;
- pr "\n";
pr "#ifdef __cplusplus\n";
pr "}\n";
pr "#endif\n";
--
2.22.0