[poppler] test/perf-test.cc utils/pdftocairo-win32.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Sep 17 00:07:25 UTC 2017


 test/perf-test.cc         |    2 +-
 utils/pdftocairo-win32.cc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b26924e32128b7ba57260e9fdc54be1893bcff77
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Sep 17 02:06:32 2017 +0200

    A few more static markers

diff --git a/test/perf-test.cc b/test/perf-test.cc
index 67753ae7..33a2eb49 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -478,7 +478,7 @@ __inline char *getcwd(char *buffer, int maxlen)
     return _getcwd(buffer, maxlen);
 }
 
-int fnmatch(const char *pattern, const char *string, int flags)
+static int fnmatch(const char *pattern, const char *string, int flags)
 {
     int prefix_len;
     const char *star_pos = strchr(pattern, '*');
diff --git a/utils/pdftocairo-win32.cc b/utils/pdftocairo-win32.cc
index eead967f..6d4f083d 100644
--- a/utils/pdftocairo-win32.cc
+++ b/utils/pdftocairo-win32.cc
@@ -210,7 +210,7 @@ static HWND createStaticText(HWND parent, HINSTANCE hinstance, HMENU id, const c
   return hwnd;
 }
 
-HWND createPageScaleComboBox(HWND parent, HINSTANCE hinstance, HMENU id, RECT *rect)
+static HWND createPageScaleComboBox(HWND parent, HINSTANCE hinstance, HMENU id, RECT *rect)
 {
   HWND hwnd = CreateWindowA(WC_COMBOBOX,
 			    "",


More information about the poppler mailing list