char *whoami; /* should not be static, for logging package */
static int status;
-static void scream();
+static int scream();
extern char *strsave();
int menu_err_hook();
} List_info;
static char *ascbuff = {"0123456789"};
-static int
-print_2(), print_1();
+static int print_2(), print_1();
static List_info *current_li = (List_info *) NULL;
static int get_list_info();
static int fetch_list_info();
show_list_info()
{
char *buf;
- char c;
show_text(DISPROW, STARTCOL, "Show information about a list.\n\r");
buf = calloc((unsigned)1024, 1);
{
char *argv[3];
char *buf;
- char c;
show_text(DISPROW, STARTCOL, "Add yourself to a list\n\r");
buf = calloc(LISTMAX, 1);
{
char *argv[3];
char *buf;
- char c;
show_text(DISPROW, STARTCOL, "Remove yourself from a list\n\r");
buf = calloc(LISTMAX, 1);
{
char *nargv[3];
char *buf;
- char c;
nargv[1] = strsave("ruser");
nargv[2] = strsave(uname);
/****************************************************/
end_display()
{
- char *buffer, c;
+ char *buffer;
if (moreflg) {
clrwin(DISPROW);
/****************************************************/
-static void
+static int
scream()
{
com_err(whoami, status, "\nAn SMS update returned a value -- programmer \
{
int c;
char *p;
- int x, oldx;
printf("%s", prompt);
refresh();
case '\177':
if (p > buf) {
p--;
- x--;
printf("\b \b");
}
break;
case CTL('U'):
case CTL('G'):
case CTL('['):
- x = oldx;
while (p-- > buf)
printf("\b \b");
p = buf;
if (isprint(c)) {
(void) addch(c);
*p++ = c;
- x++;
}
else
(void) putchar(CTL('G'));