enum tui_status
tui_set_source_content (struct symtab *s, int lineNo, int noerror)
{
- TuiStatus ret = TUI_FAILURE;
+ enum tui_status ret = TUI_FAILURE;
if (s != (struct symtab *) NULL && s->filename != (char *) NULL)
{
curLineNo++;
}
if (offset > 0)
- tuiFree (srcLine);
+ xfree (srcLine);
fclose (stream);
srcWin->generic.contentSize = nlines;
ret = TUI_SUCCESS;
tui_vertical_source_scroll (enum tui_scroll_direction scrollDirection,
int numToScroll)
{
- if (srcWin->generic.content != (OpaquePtr) NULL)
+ if (srcWin->generic.content != NULL)
{
union tui_line_or_address l;
struct symtab *s;