comparison src/cm.c @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents 3d6bfa290dbd
children 74fd4e045ea6
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
44 44
45 static void cmgoto_for_real (struct console *c, int row, int col); 45 static void cmgoto_for_real (struct console *c, int row, int col);
46 46
47 static int cm_cost_counter; /* sums up costs */ 47 static int cm_cost_counter; /* sums up costs */
48 48
49 void evalcost (int c); 49 static void
50 void
51 evalcost (int c) 50 evalcost (int c)
52 { 51 {
53 cm_cost_counter++; 52 cm_cost_counter++;
54 } 53 }
55 54
457 */ 456 */
458 457
459 void 458 void
460 Wcm_clear (void) 459 Wcm_clear (void)
461 { 460 {
462 memset (&Wcm, 0, sizeof Wcm); 461 xzero (Wcm);
463 UP = 0; 462 UP = 0;
464 BC = 0; 463 BC = 0;
465 } 464 }
466 #endif 465 #endif
467 466