Use plain char * instead of s_char *.

This commit is contained in:
Markus Armbruster 2004-08-20 08:55:23 +00:00
parent bcc4a86944
commit 2feef76102
4 changed files with 6 additions and 6 deletions

View file

@ -53,13 +53,13 @@ coll(void)
register int i; register int i;
register int val; register int val;
time_t now; time_t now;
s_char *p; char *p;
struct lonstr loan; struct lonstr loan;
struct sctstr sect; struct sctstr sect;
coord x, y; coord x, y;
double owed; double owed;
double pay; double pay;
s_char buf[1024]; char buf[1024];
if (!opt_LOANS) { if (!opt_LOANS) {
pr("Loans are not enabled.\n"); pr("Loans are not enabled.\n");

View file

@ -64,7 +64,7 @@ fina(void)
prdate(); prdate();
pr("Loan From To Rate Dur Paid Total\n"); pr("Loan From To Rate Dur Paid Total\n");
snxtitem(&ni, EF_LOAN, "*"); snxtitem(&ni, EF_LOAN, "*");
while (nxtitem(&ni, (s_char *)&loan)) { while (nxtitem(&ni, (caddr_t)&loan)) {
if (loan.l_status != LS_SIGNED) if (loan.l_status != LS_SIGNED)
continue; continue;
pr(" %-2d (%3d) %-8.8s (%3d) %-8.8s ", ni.cur, pr(" %-2d (%3d) %-8.8s (%3d) %-8.8s ", ni.cur,

View file

@ -50,9 +50,9 @@ repa(void)
int loan_num; int loan_num;
int payment; int payment;
long newdue; long newdue;
s_char *cp; char *cp;
time_t now; time_t now;
s_char buf[1024]; char buf[1024];
if (!opt_LOANS) { if (!opt_LOANS) {
pr("Loans are not enabled.\n"); pr("Loans are not enabled.\n");

View file

@ -57,7 +57,7 @@ shark(void)
struct natstr *oldie; struct natstr *oldie;
double owed; double owed;
long payment; long payment;
s_char buf[1024]; char buf[1024];
if (!opt_LOANS) { if (!opt_LOANS) {
pr("Loans are not enabled.\n"); pr("Loans are not enabled.\n");