[gs-commits] mupdf 1.16.1.epub-prerelease-7 pdfapp: Remove unused func

[email protected] (Sebastian Rasmussen) Mon, 28 Oct 2019 11:21:50 +0000 (UTC)
Newsgroups gmane.comp.printing.ghostscript.cvs
Message-ID <[email protected]>
commit de6fe6696746ce7c96b6df341762a3834ac549cd
Author: Sebastian Rasmussen <[email protected]>
Date:   Wed Oct 23 12:46:13 2019 +0200

    pdfapp: Remove unused function from pdfapp API.
    
    This is only used internally.

diff --git a/platform/x11/pdfapp.h b/platform/x11/pdfapp.h
index 9f2c7f4..d1d7cb8 100644
--- a/platform/x11/pdfapp.h
+++ b/platform/x11/pdfapp.h
@@ -36,7 +36,6 @@ extern int winchoiceinput(pdfapp_t*, int nopts, const char *opts[], int *nvals,
 extern void winopenuri(pdfapp_t*, char *s);
 extern void wincursor(pdfapp_t*, int curs);
 extern void windocopy(pdfapp_t*);
-extern void windrawrect(pdfapp_t*, int x0, int y0, int x1, int y1);
 extern void windrawstring(pdfapp_t*, int x, int y, char *s);
 extern void winclose(pdfapp_t*);
 extern void winhelp(pdfapp_t*);
diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c
index ebddc10..5ad4af3 100644
--- a/platform/x11/win_main.c
+++ b/platform/x11/win_main.c
@@ -760,7 +760,7 @@ void wintitle(pdfapp_t *app, char *title)
 	SetWindowTextW(hwndframe, wide);
 }
 
-void windrawrect(pdfapp_t *app, int x0, int y0, int x1, int y1)
+static void windrawrect(pdfapp_t *app, int x0, int y0, int x1, int y1)
 {
 	RECT r;
 	r.left = x0;

http://git.ghostscript.com/?p=mupdf.git;a=commit;h=de6fe6696746ce7c96b6df341762a3834ac549cd

--
MuPDF library
Artifex Software, Inc.