fix #8, unfortunately used symbol already in use by system, globally

This commit is contained in:
TLINDEN
2015-04-01 20:21:03 +02:00
parent 9e2050df74
commit 5d44a4d9ba

View File

@@ -7,7 +7,15 @@
#define TRUE 1
#define FALSE 0
static const char *tell[] = {
int main(int argc, char **argv) {
int ret;
size_t clearlen = 256;
size_t zlen;
char *z85;
static const char *tellmsg[] = {
NULL,
"Headers: no, Newlines: yes, Compliant: yes",
"Headers: no, Newlines: no, Compliant: yes",
@@ -16,11 +24,6 @@ static const char *tell[] = {
"Headers: yes, Newlines: yes, Compliant: no - missing z85 char",
};
int main(int argc, char **argv) {
int ret;
size_t clearlen = 256;
size_t zlen;
char *z85;
PCPCTX *ptx = ptx_new();
if(argc < 2) {
@@ -101,7 +104,7 @@ int main(int argc, char **argv) {
/* control output */
fprintf(stderr, "%s:\n\n%s\n", tell[mode], buffer_get_str(zdone));
fprintf(stderr, "%s:\n\n%s\n", tellmsg[mode], buffer_get_str(zdone));
/* line decoder */