Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kterm
kterm-6.2.0-nonvoid.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kterm-6.2.0-nonvoid.patch of Package kterm
diff -ru kterm-6.2.0.orig/button.c kterm-6.2.0/button.c --- kterm-6.2.0.orig/button.c 2005-04-19 18:11:20.000000000 +0200 +++ kterm-6.2.0/button.c 2005-04-19 18:21:56.000000000 +0200 @@ -808,6 +808,7 @@ screen->startHCoord = Coordinate (screen->startHRow, screen->startHCol); screen->endHCoord = Coordinate (screen->endHRow, screen->endHCol); + return 0; } @@ -830,6 +831,7 @@ if (endRCol > cols) endRCol = cols; if (endSCol > cols) endSCol = cols; if (rawCol > cols) rawCol = cols; + return 0; } static void @@ -1267,7 +1269,7 @@ old_endrow = screen->endHRow; old_endcol = screen->endHCol; if (frow == old_startrow && fcol == old_startcol && - trow == old_endrow && tcol == old_endcol) return; + trow == old_endrow && tcol == old_endcol) return 0; screen->startHRow = frow; screen->startHCol = fcol; screen->endHRow = trow; @@ -1296,6 +1298,7 @@ } screen->startHCoord = from; screen->endHCoord = to; + return 0; } static void @@ -1716,6 +1719,7 @@ termw->screen.selection_count = 0; termw->screen.startHRow = termw->screen.startHCol = 0; termw->screen.endHRow = termw->screen.endHCol = 0; + return 0; } diff -ru kterm-6.2.0.orig/charproc.c kterm-6.2.0/charproc.c --- kterm-6.2.0.orig/charproc.c 2005-04-19 18:11:21.000000000 +0200 +++ kterm-6.2.0/charproc.c 2005-04-19 18:28:53.000000000 +0200 @@ -1040,6 +1040,7 @@ donottext: bcnt -= cp - bptr; bptr = cp; + return 0; } doLS(gset) @@ -1139,6 +1140,7 @@ } bcnt -= cp - bptr; bptr = cp; + return 0; } # ifdef KTERM_KANJIMODE @@ -1191,6 +1193,7 @@ dotext(&term->screen, term->flags, GSET_KANJI, dotextbuf, dcp); bcnt -= cp - bptr; bptr = cp; + return 0; } # endif /* KTERM_KANJIMODE */ #endif /* KTERM */ @@ -2541,6 +2544,7 @@ break; } } + return 0; } /* @@ -2723,6 +2727,7 @@ break; } } + return 0; } /* @@ -2794,6 +2799,7 @@ break; } } + return 0; } /* @@ -2936,6 +2942,7 @@ break; } } + return 0; } /* @@ -2989,6 +2996,7 @@ } unparseputc((char) ap->a_final, fd); } + return 0; } unparseputn(n, fd) @@ -3001,6 +3009,7 @@ if (q != 0) unparseputn(q, fd); unparseputc((char) ('0' + (n%10)), fd); + return 0; } unparseputc(c, fd) @@ -3016,6 +3025,7 @@ i++; } v_write(fd, buf, i); + return 0; } unparsefputs (s, fd) @@ -3025,6 +3035,7 @@ if (s) { while (*s) unparseputc (*s++, fd); } + return 0; } static void SwitchBufs(); @@ -3115,6 +3126,7 @@ 2 * sizeof(char *) * rows); memmove( (char *)screen->altbuf, (char *)save, 2 * sizeof(char *) * rows); #endif /* !KTERM */ + return 0; } VTRun() @@ -3158,6 +3170,7 @@ VTparse(); HideCursor(); screen->cursor_set = OFF; + return 0; } /*ARGSUSED*/ @@ -3932,7 +3945,7 @@ #endif /* !KTERM */ Boolean in_selection; - if (eventMode != NORMAL) return; + if (eventMode != NORMAL) return 0; #ifdef STATUSLINE if (screen->cur_row - screen->topline > screen->max_row @@ -3940,7 +3953,7 @@ #else /* !STATUSLINE */ if (screen->cur_row - screen->topline > screen->max_row) #endif /* !STATUSLINE */ - return; + return 0; #ifdef KTERM gset = screen->buf[y = screen->cursor_row = screen->cur_row] [x = screen->cursor_col = screen->cur_col].gset; @@ -4039,6 +4052,7 @@ #ifdef KTERM_KINPUT2 Kinput2SendSpot(); #endif /* KTERM_KINPUT2 */ + return 0; } /* @@ -4065,7 +4079,7 @@ #else /* !STATUSLINE */ if(screen->cursor_row - screen->topline > screen->max_row) #endif /* !STATUSLINE */ - return; + return 0; #ifdef KTERM gset = screen->buf[y = screen->cursor_row][x = screen->cursor_col].gset; if (gset == MBC2) { @@ -4132,6 +4146,7 @@ x, y+1, x + FontWidth(screen), y+1); #endif /* !KTERM */ screen->cursor_state = OFF; + return 0; } VTReset(full) @@ -4234,6 +4249,7 @@ screen->cur_row = screen->max_row + 1; } screen->cur_col = col; + return 0; } FromStatus() @@ -4241,9 +4257,10 @@ register TScreen *screen = &term->screen; if (!screen->instatus) - return; + return 0; screen->instatus = FALSE; CursorRestore(term, &screen->statussc); + return 0; } ShowStatus() @@ -4251,7 +4268,7 @@ register TScreen *screen = &term->screen; if (screen->statusheight) - return; + return 0; screen->statusheight = FontHeight(screen) + 2; DoResizeScreen(term); /* patch for ScrollBarRight cyamauch@phyas.aichi-edu.ac.jp */ @@ -4266,6 +4283,7 @@ Height(screen) + screen->border * 2 + screen->statusheight); } } + return 0; } HideStatus() @@ -4276,7 +4294,7 @@ # endif /* !KTERM */ if (!screen->statusheight) - return; + return 0; if (screen->instatus) FromStatus(); screen->statusheight = 0; @@ -4301,6 +4319,7 @@ Height(screen) + screen->border * 2); } } + return 0; } EraseStatus() @@ -4314,7 +4333,7 @@ # endif /* !KTERM */ if (!screen->statusheight) - return; + return 0; # ifdef KTERM bzero(screen->buf[screen->max_row + 1], j = sizeof(Bchr) * (screen->max_col+1)); @@ -4329,6 +4348,7 @@ Height(screen) + screen->border * 2 + 1, Width(screen), screen->statusheight - 2); + return 0; } StatusBox(screen) @@ -4343,6 +4363,7 @@ Height(screen) + screen->border * 2, Width(screen) + screen->border * 2 - 1, screen->statusheight - 1); + return 0; } #endif /* STATUSLINE */ @@ -5204,6 +5225,7 @@ vp->y = -(FontHeight(screen) - 1); screen->box = VTbox; #endif /* !KTERM */ + return 0; } @@ -5325,6 +5347,7 @@ XDrawLine(dpy, vtgraphics['~'], bmgc, w2, h2-1, w2, h2+1); screen->graphics = vtgraphics; + return 0; } #endif /* KTERM */ @@ -5399,6 +5422,7 @@ screen->cursorGC = new_cursorGC; screen->reversecursorGC = new_reversecursorGC; screen->cursoroutlineGC = new_cursoroutlineGC; + return 0; } #ifdef KTERM diff -ru kterm-6.2.0.orig/cursor.c kterm-6.2.0/cursor.c --- kterm-6.2.0.orig/cursor.c 2005-04-19 18:11:22.000000000 +0200 +++ kterm-6.2.0/cursor.c 2005-04-19 18:11:50.000000000 +0200 @@ -73,6 +73,7 @@ screen->cur_row = (row <= maxr ? row : maxr); screen->do_wrap = 0; _CheckSelection(screen); + return 0; } /* @@ -102,6 +103,7 @@ } screen->do_wrap = 0; _CheckSelection(screen); + return 0; } /* @@ -116,6 +118,7 @@ screen->cur_col = screen->max_col; screen->do_wrap = 0; _CheckSelection(screen); + return 0; } /* @@ -136,6 +139,7 @@ screen->cur_row = max; screen->do_wrap = 0; _CheckSelection(screen); + return 0; } /* @@ -156,6 +160,7 @@ screen->cur_row = min; screen->do_wrap = 0; _CheckSelection(screen); + return 0; } /* @@ -175,11 +180,12 @@ if (screen->cur_row > screen->bot_marg || screen->cur_row + amount <= screen->bot_marg) { CursorDown(screen, amount); - return; + return 0; } CursorDown(screen, j = screen->bot_marg - screen->cur_row); Scroll(screen, amount - j); + return 0; } /* @@ -197,11 +203,12 @@ if (screen->cur_row < screen->top_marg || screen->cur_row-amount >= screen->top_marg) { CursorUp(screen, amount); - return; + return 0; } RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); CursorUp(screen, screen->cur_row - screen->top_marg); + return 0; } /* @@ -213,6 +220,7 @@ screen->cur_col = 0; screen->do_wrap = 0; _CheckSelection(screen); + return 0; } /* @@ -230,6 +238,7 @@ sc->curgl = screen->curgl; sc->curgr = screen->curgr; memmove( sc->gsets, screen->gsets, sizeof(screen->gsets)); + return 0; } /* @@ -248,4 +257,5 @@ term->flags |= sc->flags & (BOLD|INVERSE|UNDERLINE|ORIGIN); CursorSet (screen, (term->flags & ORIGIN) ? sc->row - screen->top_marg : sc->row, sc->col, term->flags); + return 0; } diff -ru kterm-6.2.0.orig/input.c kterm-6.2.0/input.c --- kterm-6.2.0.orig/input.c 2005-04-19 18:11:23.000000000 +0200 +++ kterm-6.2.0/input.c 2005-04-19 18:11:50.000000000 +0200 @@ -226,7 +226,7 @@ if (keysym == XK_F2) TekPrint(); #endif #endif /* !KTERM_NOTEK */ - return; + return 0; } StringInput (screen, string, nbytes) @@ -249,6 +249,7 @@ if(!screen->TekEmu) #endif /* !KTERM_NOTEK */ AdjustAfterInput(screen); + return 0; } static int funcvalue (keycode) diff -ru kterm-6.2.0.orig/kinput2.c kterm-6.2.0/kinput2.c --- kterm-6.2.0.orig/kinput2.c 2005-04-19 18:11:24.000000000 +0200 +++ kterm-6.2.0/kinput2.c 2005-04-19 18:11:50.000000000 +0200 @@ -124,6 +124,7 @@ } else { (*originalerrorhandler)(dpy, error); } + return 0; } static void diff -ru kterm-6.2.0.orig/main.c kterm-6.2.0/main.c --- kterm-6.2.0.orig/main.c 2005-04-19 18:11:25.000000000 +0200 +++ kterm-6.2.0/main.c 2005-04-19 18:11:50.000000000 +0200 @@ -1881,6 +1881,7 @@ screen->arrow = make_colored_cursor (XC_left_ptr, screen->mousecolor, screen->mousecolorback); + return 0; } #ifndef KTERM_NOTEK @@ -3318,6 +3319,7 @@ ptr2 = strchr(ptr2, ':'); strcat (newtc, ptr2); #endif /* USE_SYSV_ENVVARS */ + return 0; } /* @@ -3397,6 +3399,7 @@ close(f); } #endif /* TIOCNOTTY */ + return 0; } diff -ru kterm-6.2.0.orig/misc.c kterm-6.2.0/misc.c --- kterm-6.2.0.orig/misc.c 2005-04-19 18:11:26.000000000 +0200 +++ kterm-6.2.0/misc.c 2005-04-19 18:29:12.000000000 +0200 @@ -85,15 +85,15 @@ * If there's no XEvents, don't wait around... */ if ((input_mask & XtIMXEvent) != XtIMXEvent) - return; + return 0; #else /* !KTERM_XAW3D */ if (!XPending (screen->display)) /* protect against events/errors being swallowed by us or Xlib */ - return; + return 0; #endif /* !KTERM_XAW3D */ do { if (waitingForTrackInfo) - return; + return 0; #ifdef KTERM_XAW3D XtAppNextEvent (app_con, &event); #else /* !KTERM_XAW3D */ @@ -139,6 +139,7 @@ #else /* !KTERM_XAW3D */ } while (QLength(screen->display) > 0); #endif /* !KTERM_XAW3D */ + return 0; } @@ -326,7 +327,7 @@ screen->select |= flag; if(!Ttoggled) TCursorToggle(TOGGLE); - return; + return 0; } else { #endif /* !KTERM_NOTEK */ if (screen->xic) @@ -339,17 +340,18 @@ screen->select |= flag; if(screen->cursor_state) ShowCursor(); - return; + return 0; #ifndef KTERM_NOTEK } #endif /* !KTERM_NOTEK */ + return 0; } unselectwindow(screen, flag) register TScreen *screen; register int flag; { - if (screen->always_highlight) return; + if (screen->always_highlight) return 0; #ifndef KTERM_NOTEK if(screen->TekEmu) { @@ -370,6 +372,7 @@ #ifndef KTERM_NOTEK } #endif /* !KTERM_NOTEK */ + return 0; } static long lastBellTime; /* in milliseconds */ @@ -398,14 +401,14 @@ GetBytesAvailable (ConnectionNumber(screen->display)) > 0) xevents(); if(screen->bellInProgress) { /* even after new events? */ - return; + return 0; } } X_GETTIMEOFDAY(&curtime); now_msecs = 1000*curtime.tv_sec + curtime.tv_usec/1000; if(lastBellTime != 0 && now_msecs - lastBellTime >= 0 && now_msecs - lastBellTime < screen->bellSuppressTime) { - return; + return 0; } lastBellTime = now_msecs; } @@ -433,6 +436,7 @@ XA_NOTICE, XA_NOTICE, 8, PropModeAppend, NULL, 0); screen->bellInProgress = TRUE; } + return 0; } @@ -484,6 +488,7 @@ #ifndef KTERM_NOTEK } #endif /* !KTERM_NOTEK */ + return 0; } /* ARGSUSED */ @@ -530,6 +535,7 @@ TekExpose (tekWidget, &event, NULL); } #endif /* !KTERM_NOTEK */ + return 0; } #if defined(ALLOWLOGGING) || defined(DEBUG) @@ -823,6 +829,7 @@ * but that could potentially open a fairly nasty security hole. */ } + return 0; } static ChangeGroup(attribute, value) @@ -834,18 +841,21 @@ XtSetArg( args[0], attribute, value ); XtSetValues( toplevel, args, 1 ); + return 0; } Changename(name) register char *name; { ChangeGroup( XtNiconName, (XtArgVal)name ); + return 0; } Changetitle(name) register char *name; { ChangeGroup( XtNtitle, (XtArgVal)name ); + return 0; } #ifndef DEBUG @@ -863,6 +873,7 @@ fflush(stderr); } #endif /* DEBUG */ + return 0; } char *SysErrorMsg (n) @@ -883,6 +894,7 @@ fprintf (stderr, "%s: Error %d, errno %d: ", xterm_name, i, oerrno); fprintf (stderr, "%s\n", SysErrorMsg (oerrno)); Cleanup(i); + return 0; } Error (i) @@ -890,6 +902,7 @@ { fprintf (stderr, "%s: Error %d\n", xterm_name, i); Cleanup(i); + return 0; } @@ -907,6 +920,7 @@ (void) kill_process_group (screen->pid, SIGHUP); } Exit (code); + return 0; } /* @@ -929,7 +943,7 @@ environ[envindex] = (char *)malloc ((unsigned)len + strlen (value) + 1); strcpy (environ [envindex], var); strcat (environ [envindex], value); - return; + return 0; } envindex ++; } @@ -942,6 +956,7 @@ (void) strcpy (environ [envindex], var); strcat (environ [envindex], value); environ [++envindex] = NULL; + return 0; } /* @@ -970,6 +985,7 @@ fprintf (stderr, "%s: warning, error event receieved:\n", xterm_name); (void) XmuPrintDefaultErrorMessage (d, ev, stderr); Exit (ERROR_XERROR); + return 0; } /*ARGSUSED*/ @@ -982,6 +998,7 @@ DisplayString (dpy)); Exit(ERROR_XIOERROR); + return 0; } void xt_error(message) diff -ru kterm-6.2.0.orig/screen.c kterm-6.2.0/screen.c --- kterm-6.2.0.orig/screen.c 2005-04-19 18:11:27.000000000 +0200 +++ kterm-6.2.0/screen.c 2005-04-19 18:22:31.000000000 +0200 @@ -287,7 +287,7 @@ if (length > avail) length = avail; if (length <= 0) - return; + return 0; #ifdef KTERM col = col0 = screen->buf[avail = screen->cur_row] + screen->cur_col; @@ -332,6 +332,7 @@ if (wrappedbit) *attrs0 |= LINEWRAPPED; #endif /* !KTERM */ + return 0; } ScrnInsertLine (sb, last, where, n, size) @@ -398,6 +399,7 @@ #else /* !KTERM */ memmove( (char *) &sb[2 * where], (char *)save, 2 * sizeof(char *) * n); #endif /* !KTERM */ + return 0; } @@ -455,6 +457,7 @@ memmove( (char *) &sb[2 * last], (char *)save, 2 * sizeof(char *) * n); #endif /* !KTERM */ + return 0; } @@ -505,6 +508,7 @@ if (wrappedbit) attrs[0] |= LINEWRAPPED; #endif /* !KTERM */ + return 0; } @@ -540,6 +544,7 @@ if (wrappedbit) attrs[0] |= LINEWRAPPED; #endif /* !KTERM */ + return 0; } @@ -794,6 +799,7 @@ x, y+1, x + n * FontWidth(screen), y+1); #endif /* !KTERM */ } + return 0; } ClearBufRows (screen, first, last) @@ -813,6 +819,7 @@ while (first <= last) bzero (screen->buf [first++], (screen->max_col + 1)); #endif /* !KTERM */ + return 0; } /* @@ -1306,5 +1313,6 @@ if (dbuf2 != drawbuf2) XtFree((char *)dbuf2); #endif /* KTERM_MBCS */ if (dbuf != drawbuf) XtFree(dbuf); + return 0; } #endif /* KTERM */ diff -ru kterm-6.2.0.orig/scrollbar.c kterm-6.2.0/scrollbar.c --- kterm-6.2.0.orig/scrollbar.c 2005-04-19 18:11:28.000000000 +0200 +++ kterm-6.2.0/scrollbar.c 2005-04-19 18:21:40.000000000 +0200 @@ -243,6 +243,7 @@ nargs--; /* don't set border pixel */ } XtSetValues (scrollWidget, args, nargs); + return 0; } @@ -260,7 +261,7 @@ XawScrollbarSetThumb(scrollWidget, ((float)thumbTop) / totalHeight, ((float)thumbHeight) / totalHeight); - + return 0; } ResizeScrollBar(scrollWidget, x, y, height) @@ -271,6 +272,7 @@ XtConfigureWidget(scrollWidget, x, y, scrollWidget->core.width, height, scrollWidget->core.border_width); ScrollBarDrawThumb(scrollWidget); + return 0; } WindowScroll(screen, top) @@ -290,7 +292,7 @@ top = 0; if((i = screen->topline - top) == 0) { ScrollBarDrawThumb(screen->scrollWidget); - return; + return 0; } if(screen->cursor_state) @@ -322,6 +324,7 @@ ScrnRefresh(screen, refreshtop, 0, lines, screen->max_col + 1, False); ScrollBarDrawThumb(screen->scrollWidget); + return 0; } @@ -338,29 +341,29 @@ #endif if(screen->scrollbar) - return; + return 0; /* patch for ScrollBarRight cyamauch@phyas.aichi-edu.ac.jp */ if(screen->useRight) - return; + return 0; if (init) { /* then create it only */ - if (screen->scrollWidget) return; + if (screen->scrollWidget) return 0; /* make it a dummy size and resize later */ if ((screen->scrollWidget = CreateScrollBar (xw, -1, - 1, 5)) == NULL) { Bell(XkbBI_MinorError,0); - return; + return 0; } - return; + return 0; } if (!screen->scrollWidget) { Bell (XkbBI_MinorError,0); Bell (XkbBI_MinorError,0); - return; + return 0; } if (doalloc && screen->allbuf) { @@ -436,6 +439,7 @@ XClearWindow (screen->display, XtWindow (term)); Redraw (); } + return 0; } ScrollBarOff(screen) @@ -443,7 +447,7 @@ { /* patch for ScrollBarRight cyamauch@phyas.aichi-edu.ac.jp */ if( screen->scrollbar==0 && screen->useRight==0 ) - return; + return 0; XtUnmapWidget(screen->scrollWidget); screen->scrollbar = 0; /* patch for ScrollBarRight cyamauch@phyas.aichi-edu.ac.jp */ @@ -454,6 +458,7 @@ XClearWindow (screen->display, XtWindow (term)); Redraw (); } + return 0; } /*ARGSUSED*/ diff -ru kterm-6.2.0.orig/tabs.c kterm-6.2.0/tabs.c --- kterm-6.2.0.orig/tabs.c 2005-04-19 18:11:29.000000000 +0200 +++ kterm-6.2.0/tabs.c 2005-04-19 18:11:50.000000000 +0200 @@ -47,6 +47,7 @@ for (i=0; i<MAX_TABS; i+=8) TabSet(tabs, i); + return 0; } @@ -58,6 +59,7 @@ int col; { tabs[col >> 5] |= (1 << (col & 31)); + return 0; } /* @@ -68,6 +70,7 @@ int col; { tabs[col >> 5] &= ~(1 << (col & 31)); + return 0; } /* @@ -103,4 +106,5 @@ for (i=0; i<TAB_ARRAY_SIZE; ++i) tabs[i] = 0; + return 0; } diff -ru kterm-6.2.0.orig/util.c kterm-6.2.0/util.c --- kterm-6.2.0.orig/util.c 2005-04-19 18:11:29.000000000 +0200 +++ kterm-6.2.0/util.c 2005-04-19 18:28:33.000000000 +0200 @@ -124,6 +124,7 @@ ScrnRefresh(screen, refreshtop, 0, refreshheight, screen->max_col + 1, False); } + return 0; } AddToRefresh(screen) @@ -197,7 +198,7 @@ ScrollSelection(screen, -(amount)); if (amount == i) { ClearScreen(screen); - return; + return 0; } shift = -screen->topline; bot = screen->max_row - shift; @@ -258,6 +259,7 @@ if(refreshheight > 0) ScrnRefresh(screen, refreshtop, 0, refreshheight, screen->max_col + 1, False); + return 0; } @@ -328,6 +330,7 @@ } ScrnInsertLine (screen->buf, screen->bot_marg, screen->top_marg, amount, screen->max_col + 1); + return 0; } /* @@ -349,7 +352,7 @@ if (screen->cur_row < screen->top_marg || screen->cur_row > screen->bot_marg) - return; + return 0; if(screen->cursor_state) HideCursor(); screen->do_wrap = 0; @@ -390,6 +393,7 @@ /* adjust screen->buf */ ScrnInsertLine(screen->buf, screen->bot_marg, screen->cur_row, n, screen->max_col + 1); + return 0; } /* @@ -410,7 +414,7 @@ if (screen->cur_row < screen->top_marg || screen->cur_row > screen->bot_marg) - return; + return 0; if(screen->cursor_state) HideCursor(); screen->do_wrap = 0; @@ -471,6 +475,7 @@ else ScrnDeleteLine(screen->buf, screen->bot_marg, screen->cur_row, n, screen->max_col + 1); + return 0; } /* @@ -526,6 +531,7 @@ /* adjust screen->buf */ ScrnInsertChar(screen->buf, screen->cur_row, screen->cur_col, n, screen->max_col + 1); + return 0; } /* @@ -579,6 +585,7 @@ /* adjust screen->buf */ ScrnDeleteChar (screen->buf, screen->cur_row, screen->cur_col, n, screen->max_col + 1); + return 0; } @@ -607,6 +614,7 @@ ClearLeft(screen); } ClearBufRows(screen, 0, screen->cur_row - 1); + return 0; } /* @@ -629,6 +637,7 @@ FontHeight(screen), FALSE); } ClearBufRows(screen, screen->cur_row + 1, screen->max_row); + return 0; } /* @@ -677,6 +686,7 @@ /* with the right part cleared, we can't be wrapping */ screen->buf [2 * screen->cur_row + 1] [0] &= ~LINEWRAPPED; #endif /* !KTERM */ + return 0; } /* @@ -738,6 +748,7 @@ i++, cp++) *cp = CHARDRAWN; #endif /* !KTERM */ + return 0; } /* @@ -775,6 +786,7 @@ bzero (screen->buf [2 * screen->cur_row], (screen->max_col + 1)); bzero (screen->buf [2 * screen->cur_row + 1], (screen->max_col + 1)); #endif /* !KTERM */ + return 0; } ClearScreen(screen) @@ -802,6 +814,7 @@ FontHeight(screen), FALSE); } ClearBufRows (screen, 0, screen->max_row); + return 0; } CopyWait(screen) @@ -833,13 +846,14 @@ screen->scrolls--; if (screen->scrolls == 0) { screen->incopy = 0; - return; + return 0; } screen->incopy = -1; } break; } } + return (0); } /* @@ -935,6 +949,7 @@ if(nlines > 0) { vertical_copy_area(screen, firstline, nlines, amount); } + return 0; } /* @@ -1140,6 +1155,7 @@ #ifdef KTERM_KINPUT2 Kinput2SendColor(); #endif /* KTERM_KINPUT2 */ + return 0; } @@ -1156,7 +1172,7 @@ XQueryColors (dpy, DefaultColormap (dpy, DefaultScreen (dpy)), colordefs, 2); XRecolorCursor (dpy, cursor, colordefs, colordefs+1); - return; + return 0; } #ifdef KTERM_MBCS @@ -1194,6 +1210,7 @@ ptr = screen->buf[screen->cur_row] + screen->cur_col - 1; bzero((char*)ptr, 2 * sizeof(Bchr)); } + return 0; } #endif /* KTERM_MBCS */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor