Skip to content

Commit 45c9443

Browse files
committed
testsuite: remove unused strc2p() function in afpclient
1 parent 49c1671 commit 45c9443

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/testsuite/afpclient.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -939,20 +939,6 @@ int strp2c(char *cstr, unsigned char *pstr)
939939
return i;
940940
}
941941

942-
/* ------------------------------- */
943-
/* Converts null-terminated C string to Pascal form */
944-
int strc2p(char *pstr, char *cstr)
945-
{
946-
int i;
947-
948-
for (i = 0; cstr[i] != 0; i++) {
949-
pstr[i + 1] = cstr[i];
950-
}
951-
952-
pstr[0] = i;
953-
return i;
954-
}
955-
956942
/* ------------------------------- */
957943
/* Our malloc wrapper. It zeroes allocated memory. */
958944
void *fp_malloc(size_t size)

0 commit comments

Comments
 (0)