summaryrefslogtreecommitdiffstats
path: root/usr.sbin/i4b/isdnd/curses.c
diff options
context:
space:
mode:
authorhm <hm@FreeBSD.org>2006-05-13 12:42:55 +0000
committerhm <hm@FreeBSD.org>2006-05-13 12:42:55 +0000
commit70fbb7249a34423afbf99a4c568fe5e6324381f6 (patch)
treea94a656ab7c01fe4deef16ddb42d006170e7314b /usr.sbin/i4b/isdnd/curses.c
parentb20e6373761b68d6ef414f863fcfca323df30e17 (diff)
downloadFreeBSD-src-70fbb7249a34423afbf99a4c568fe5e6324381f6.zip
FreeBSD-src-70fbb7249a34423afbf99a4c568fe5e6324381f6.tar.gz
fix conflicting types for log(), add some prototypes to isdnd.h
Diffstat (limited to 'usr.sbin/i4b/isdnd/curses.c')
-rw-r--r--usr.sbin/i4b/isdnd/curses.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/usr.sbin/i4b/isdnd/curses.c b/usr.sbin/i4b/isdnd/curses.c
index 19e7af7..a086b23 100644
--- a/usr.sbin/i4b/isdnd/curses.c
+++ b/usr.sbin/i4b/isdnd/curses.c
@@ -29,7 +29,7 @@
*
* $FreeBSD$
*
- * last edit-date: [Tue Mar 26 14:35:33 2002]
+ * last edit-date: [Sat May 13 13:05:36 2006]
*
*---------------------------------------------------------------------------*/
@@ -58,7 +58,7 @@ init_screen(void)
if((COLS < 80) || (LINES < 24))
{
- log(LL_ERR, "ERROR, minimal screensize must be 80x24, is %dx%d, terminating!",COLS, LINES);
+ llog(LL_ERR, "ERROR, minimal screensize must be 80x24, is %dx%d, terminating!",COLS, LINES);
do_exit(1);
}
@@ -70,19 +70,19 @@ init_screen(void)
if((upper_w = newwin(uheight, COLS, UPPER_B, 0)) == NULL)
{
- log(LL_ERR, "ERROR, curses init upper window, terminating!");
+ llog(LL_ERR, "ERROR, curses init upper window, terminating!");
exit(1);
}
if((mid_w = newwin(1, COLS, UPPER_B+uheight+1, 0)) == NULL)
{
- log(LL_ERR, "ERROR, curses init mid window, terminating!");
+ llog(LL_ERR, "ERROR, curses init mid window, terminating!");
exit(1);
}
if((lower_w = newwin(lheight, COLS, UPPER_B+uheight+3, 0)) == NULL)
{
- log(LL_ERR, "ERROR, curses init lower window, LINES = %d, lheight = %d, uheight = %d, terminating!", LINES, lheight, uheight);
+ llog(LL_ERR, "ERROR, curses init lower window, LINES = %d, lheight = %d, uheight = %d, terminating!", LINES, lheight, uheight);
exit(1);
}
@@ -176,7 +176,7 @@ do_menu(void)
if((menu_w = newwin(WMENU_HGT, WMENU_LEN, WMENU_POSLN, WMENU_POSCO )) == NULL)
{
- log(LL_WRN, "ERROR, curses init menu window!");
+ llog(LL_WRN, "ERROR, curses init menu window!");
return;
}
@@ -589,7 +589,7 @@ display_chans(void)
if((chan_w = newwin(nlines, ncols, pos_y, pos_x )) == NULL)
{
- log(LL_WRN, "ERROR, curses init channel window!");
+ llog(LL_WRN, "ERROR, curses init channel window!");
if (cnt > 0)
free(cc);
return;
@@ -679,7 +679,7 @@ display_chans(void)
if((cep = get_cep_by_cc(cc[nlines-1].cntl, cc[nlines-1].chn))
!= NULL)
{
- log(LL_CHD, "%05d %s manual disconnect (fullscreen menu)", cep->cdid, cep->name);
+ llog(LL_CHD, "%05d %s manual disconnect (fullscreen menu)", cep->cdid, cep->name);
cep->hangup = 1;
break;
}
@@ -713,7 +713,7 @@ display_cards(void)
if((chan_w = newwin(nlines, ncols, pos_y, pos_x )) == NULL)
{
- log(LL_WRN, "ERROR, curses init channel window!");
+ llog(LL_WRN, "ERROR, curses init channel window!");
return;
}
@@ -795,7 +795,7 @@ display_budget(void)
if((bud_w = newwin(nlines, ncols, pos_y, pos_x )) == NULL)
{
- log(LL_WRN, "ERROR, curses init budget window!");
+ llog(LL_WRN, "ERROR, curses init budget window!");
return;
}
OpenPOWER on IntegriCloud