Return to tty.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.30, 2008/09/15 16:11:35 | version 1.31, 2014/11/16 00:47:35 | ||
---|---|---|---|
|
|
||
#include <term.h> | #include <term.h> | ||
static int charcost(char *); | static int charcost(const char *); | ||
static int cci; | static int cci; | ||
static int insdel; /* Do we have both insert & delete line? */ | static int insdel; /* Do we have both insert & delete line? */ | ||
|
|
||
/* calculate the cost of doing string s */ | /* calculate the cost of doing string s */ | ||
static int | static int | ||
charcost(char *s) | charcost(const char *s) | ||
{ | { | ||
cci = 0; | cci = 0; | ||