--- freem/src/transact.c 2025/03/24 02:54:47 1.5 +++ freem/src/transact.c 2025/04/10 01:24:39 1.8 @@ -1,5 +1,5 @@ /* - * $Id: transact.c,v 1.5 2025/03/24 02:54:47 snw Exp $ + * $Id: transact.c,v 1.8 2025/04/10 01:24:39 snw Exp $ * FreeM transaction processing support * * @@ -24,6 +24,15 @@ * along with FreeM. If not, see . * * $Log: transact.c,v $ + * Revision 1.8 2025/04/10 01:24:39 snw + * Remove C++ style comments + * + * Revision 1.7 2025/04/09 19:52:02 snw + * Eliminate as many warnings as possible while building with -Wall + * + * Revision 1.6 2025/03/24 04:13:12 snw + * Replace action macro dat with fra_dat to avoid symbol conflict on OS/2 + * * Revision 1.5 2025/03/24 02:54:47 snw * Transaction compat fixes for OS/2 * @@ -74,7 +83,6 @@ tp_transaction transactions[TP_MAX_NEST] void tp_init(void) { union semun arg; - char err[255]; key_t tp_sk; tp_sk = ftok (config_file, 4); @@ -382,7 +390,6 @@ int tp_trollback(int levels) register int i; register int j; -// for (i = 0; i < levels; i++) { for (i = tp_level; i >= (((tp_level - levels) >= 0) ? tp_level - levels : 0); i--) { for (j = 1; j <= transactions[i].opcount; j++) { @@ -493,7 +500,7 @@ void tp_get_op_name(char *buf, const sho strcpy (buf, "GET"); break; - case dat: + case fra_dat: strcpy (buf, "$DATA"); break;