mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 09:50:07 +08:00
Make mdb_iconv_name_from_code_page static
This commit is contained in:
@@ -19,8 +19,6 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "mdbtools.h"
|
#include "mdbtools.h"
|
||||||
|
|
||||||
const char *mdb_iconv_name_from_code_page(int code_page);
|
|
||||||
|
|
||||||
#ifndef MIN
|
#ifndef MIN
|
||||||
#define MIN(a,b) (a>b ? b : a)
|
#define MIN(a,b) (a>b ? b : a)
|
||||||
#endif
|
#endif
|
||||||
@@ -262,7 +260,7 @@ mdb_target_charset(MdbHandle *mdb)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* See: https://docs.microsoft.com/en-us/windows/win32/Intl/code-page-identifiers */
|
/* See: https://docs.microsoft.com/en-us/windows/win32/Intl/code-page-identifiers */
|
||||||
const char *mdb_iconv_name_from_code_page(int code_page) {
|
static const char *mdb_iconv_name_from_code_page(int code_page) {
|
||||||
const char *jet3_iconv_code = NULL;
|
const char *jet3_iconv_code = NULL;
|
||||||
switch (code_page) {
|
switch (code_page) {
|
||||||
case 437: jet3_iconv_code="IBM437"; break;
|
case 437: jet3_iconv_code="IBM437"; break;
|
||||||
|
Reference in New Issue
Block a user