summaryrefslogtreecommitdiffstats
path: root/examples/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example.c')
-rw-r--r--examples/example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example.c b/examples/example.c
index 9666ae5..71f269b 100644
--- a/examples/example.c
+++ b/examples/example.c
@@ -3,14 +3,14 @@
#include <librcd.h>
main() {
- enum russian_charsets res;
+ rcd_russian_charset res;
char buf[255];
int l;
while (fgets(buf,255,stdin)) {
if (strlen(buf)<2) break;
- res = get_russian_charset(buf,0);
+ res = rcdGetRussianCharset(buf,0);
switch(res) {
case RUSSIAN_CHARSET_WIN:
printf("CP1251: ");