mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
fix #8, unfortunately used symbol already in use by system, globally
This commit is contained in:
@@ -7,7 +7,15 @@
|
|||||||
#define TRUE 1
|
#define TRUE 1
|
||||||
#define FALSE 0
|
#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,
|
NULL,
|
||||||
"Headers: no, Newlines: yes, Compliant: yes",
|
"Headers: no, Newlines: yes, Compliant: yes",
|
||||||
"Headers: no, Newlines: no, 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",
|
"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();
|
PCPCTX *ptx = ptx_new();
|
||||||
|
|
||||||
if(argc < 2) {
|
if(argc < 2) {
|
||||||
@@ -101,7 +104,7 @@ int main(int argc, char **argv) {
|
|||||||
|
|
||||||
/* control output */
|
/* 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 */
|
/* line decoder */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user