diff --git a/src/diffviewer/ydiff.c b/src/diffviewer/ydiff.c index 9fc0233dd..64d207e73 100644 --- a/src/diffviewer/ydiff.c +++ b/src/diffviewer/ydiff.c @@ -3297,10 +3297,9 @@ dview_get_title (const Dlg_head * h, size_t len) return g_string_free (title, FALSE); } -/*** public functions ****************************************************************************/ /* --------------------------------------------------------------------------------------------- */ -int +static int diff_view (const char *file1, const char *file2, const char *label1, const char *label2) { int error; @@ -3339,6 +3338,7 @@ diff_view (const char *file1, const char *file2, const char *label1, const char return error == 0 ? 1 : 0; } +/*** public functions ****************************************************************************/ /* --------------------------------------------------------------------------------------------- */ #define GET_FILE_AND_STAMP(n) \ diff --git a/src/diffviewer/ydiff.h b/src/diffviewer/ydiff.h index 9749e7fcf..7c1d1b270 100644 --- a/src/diffviewer/ydiff.h +++ b/src/diffviewer/ydiff.h @@ -12,6 +12,5 @@ /*** declarations of public functions ************************************************************/ int dview_diff_cmd (const void *f0, const void *f1); -int diff_view (const char *file1, const char *file2, const char *label1, const char *label2); #endif /* MC__DIFFVIEW_YDIFF_H */