projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/stable'
[pspp-builds.git]
/
src
/
libpspp
/
legacy-encoding.h
diff --git
a/src/libpspp/legacy-encoding.h
b/src/libpspp/legacy-encoding.h
index ec889efbc9044b9bdc3626249900f2dba47172ba..c6ae0ab4aa2bb25faf9f074436aa3bd9637bb137 100644
(file)
--- a/
src/libpspp/legacy-encoding.h
+++ b/
src/libpspp/legacy-encoding.h
@@
-17,23
+17,18
@@
#ifndef LIBPSPP_LEGACY_ENCODING
#define LIBPSPP_LEGACY_ENCODING 1
#ifndef LIBPSPP_LEGACY_ENCODING
#define LIBPSPP_LEGACY_ENCODING 1
-#include <stddef.h>
#include <libpspp/compiler.h>
#include <libpspp/compiler.h>
-
#if 'A' == 0x41
#if 'A' == 0x41
-#define LEGACY_NATIVE "
PSPP-LEGACY-
ASCII"
+#define LEGACY_NATIVE "ASCII"
#elif 'A' == 0xc1
#elif 'A' == 0xc1
-#define LEGACY_NATIVE "
PSPP-LEGACY-EBCDIC
"
+#define LEGACY_NATIVE "
EBCDIC-US
"
#else
#error Cannot detect native character set.
#endif
#else
#error Cannot detect native character set.
#endif
-
-
-void legacy_recode (const char *from, const char *src,
- const char *to, char *dst, size_t);
char legacy_to_native (const char *from, char) PURE_FUNCTION;
char legacy_from_native (const char *to, char) PURE_FUNCTION;
char legacy_to_native (const char *from, char) PURE_FUNCTION;
char legacy_from_native (const char *to, char) PURE_FUNCTION;
+
#endif /* libpspp/legacy-encoding.h */
#endif /* libpspp/legacy-encoding.h */