diff --git a/include/loan.h b/include/loan.h index 6407a28b..ead009f6 100644 --- a/include/loan.h +++ b/include/loan.h @@ -43,7 +43,7 @@ struct lonstr { short l_uid; natid l_lonee; /* sucker */ s_char l_status; /* loan status */ - short l_sell; /* pointer to trade file */ + short l_sell; /* pointer to trade file (unused) */ int l_irate; /* interest rate */ int l_ldur; /* intended duration */ long l_amtpaid; /* amount paid so far */ diff --git a/include/match.h b/include/match.h index 4985926b..054e2377 100644 --- a/include/match.h +++ b/include/match.h @@ -36,7 +36,7 @@ #include -/* returned by stmtch() */ +/* returned by stmtch() and comtch() */ #define M_IGNORE -3 #define M_NOTUNIQUE -2 #define M_NOTFOUND -1 diff --git a/include/treaty.h b/include/treaty.h index 35a968e6..18645788 100644 --- a/include/treaty.h +++ b/include/treaty.h @@ -42,7 +42,7 @@ struct trtstr { s_char trt_fill; short trt_acond; /* conditions for proposer */ short trt_bcond; /* conditions for accepter */ - float trt_bond; /* amount of bond involved */ + float trt_bond; /* amount of bond involved (unused) */ time_t trt_exp; /* expiration date */ }; diff --git a/src/lib/common/stmtch.c b/src/lib/common/stmtch.c index 35f0753e..46d6c6da 100644 --- a/src/lib/common/stmtch.c +++ b/src/lib/common/stmtch.c @@ -45,7 +45,7 @@ * several. * Each array element has a pointer to its name stored at offset OFFS. * Search stops when this name is a null pointer or empty. NEEDLE is - * compared to element names with mineq(). + * compared to element names with mineq(NEEDLE, NAME). * ELT_SIZE gives the size of an array element. */ int diff --git a/src/lib/subs/nstr.c b/src/lib/subs/nstr.c index 8ea8c822..b829f181 100644 --- a/src/lib/subs/nstr.c +++ b/src/lib/subs/nstr.c @@ -391,6 +391,7 @@ nstr_coerce_val(struct valstr *val, nsc_type to, char *str) /* * Evaluate VAL. + * If VAL is symbolic, evaluate it into a promoted value type. * Use coordinate system of country CNUM. * PTR points to a context object of the type that was used to compile * the value.