[libbluray-devel] commit: make dlerror static (john )

git at videolan.org git at videolan.org
Sat Sep 4 00:28:58 CEST 2010


libbluray | branch: master | john <john at anonymous.org> | Fri Sep  3 15:05:56 2010 -0700| [1582b93905c2cbab1dd8ef352420d5c034754a67] | committer: john 

make dlerror static

so it doesn't conflict with other definitions that may
be made by other libraries.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=1582b93905c2cbab1dd8ef352420d5c034754a67
---

 src/file/dl_posix.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/file/dl_posix.c b/src/file/dl_posix.c
index 46f5f4d..80fd193 100644
--- a/src/file/dl_posix.c
+++ b/src/file/dl_posix.c
@@ -36,7 +36,7 @@
 #endif
 
 #if defined(_WIN32)
-const char *dlerror(char *buf, int buf_size)
+static const char *dlerror(char *buf, int buf_size)
 {
     DWORD error_code = GetLastError();
     wchar_t wbuf[256];



More information about the libbluray-devel mailing list