aboutsummaryrefslogtreecommitdiffstats
path: root/libpatch_plain_stream_diff2_printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpatch_plain_stream_diff2_printer.c')
-rw-r--r--libpatch_plain_stream_diff2_printer.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libpatch_plain_stream_diff2_printer.c b/libpatch_plain_stream_diff2_printer.c
new file mode 100644
index 0000000..443b8ab
--- /dev/null
+++ b/libpatch_plain_stream_diff2_printer.c
@@ -0,0 +1,15 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+
+struct libpatch_diff2_printer *
+libpatch_plain_stream_diff2_printer(FILE *output)
+{
+ struct libpatch_diff2_printer *printer;
+ printer = libpatch_stream_diff2_printer__(output);
+ if (!printer)
+ return NULL;
+ libpatch_plain_diff2_printer__(printer);
+ return printer;
+
+}