(diff_view): make static.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-04-03 15:14:58 +04:00 committed by Slava Zanko
parent abc364791e
commit ed134d9198
2 changed files with 2 additions and 3 deletions

View File

@ -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) \

View File

@ -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 */