summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/diff/diff.h
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1998-08-22 20:50:00 +0000
committertholo <tholo@openbsd.org>1998-08-22 20:50:00 +0000
commitb2346922a76a50a89e33beab4ebbc0950de8a8df (patch)
tree35564c117ce351d71d8a9b14880e676b4e7ca09c /gnu/usr.bin/cvs/diff/diff.h
parentChanged warning message from "... keyinit -s" to "... skeyinit -s". (diff)
downloadwireguard-openbsd-b2346922a76a50a89e33beab4ebbc0950de8a8df.tar.xz
wireguard-openbsd-b2346922a76a50a89e33beab4ebbc0950de8a8df.zip
Latest version from Cyclic
Diffstat (limited to 'gnu/usr.bin/cvs/diff/diff.h')
-rw-r--r--gnu/usr.bin/cvs/diff/diff.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/diff/diff.h b/gnu/usr.bin/cvs/diff/diff.h
index fba26a7bf07..6107e6221fb 100644
--- a/gnu/usr.bin/cvs/diff/diff.h
+++ b/gnu/usr.bin/cvs/diff/diff.h
@@ -1,5 +1,5 @@
/* Shared definitions for GNU DIFF
- Copyright (C) 1988, 89, 91, 92, 93, 97 Free Software Foundation, Inc.
+ Copyright (C) 1988, 89, 91, 92, 93, 97, 1998 Free Software Foundation, Inc.
This file is part of GNU DIFF.
@@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
#include <setjmp.h>
#include "regex.h"
+#include "diffrun.h"
#define TAB_WIDTH 8
@@ -32,6 +33,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define EXTERN
#endif
+/* The callbacks to use for output. */
+EXTERN const struct diff_callbacks *callbacks;
+
enum output_style {
/* Default output style. */
OUTPUT_NORMAL,
@@ -329,6 +333,13 @@ void debug_script PARAMS((struct change *));
void diff_error PARAMS((char const *, char const *, char const *));
void fatal PARAMS((char const *));
void finish_output PARAMS((void));
+void write_output PARAMS((char const *, size_t));
+void printf_output PARAMS((char const *, ...))
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 6)
+ __attribute__ ((__format__ (__printf__, 1, 2)))
+#endif
+ ;
+void flush_output PARAMS((void));
void message PARAMS((char const *, char const *, char const *));
void message5 PARAMS((char const *, char const *, char const *, char const *, char const *));
void output_1_line PARAMS((char const *, char const *, char const *, char const *));