Changeset f34dd65 for popwin.c


Ignore:
Timestamp:
Feb 11, 2009, 12:20:22 PM (12 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, debian, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
7980fb2
Parents:
823671c
git-author:
Nelson Elhage <nelhage@mit.edu> (02/08/09 16:31:14)
git-committer:
Nelson Elhage <nelhage@mit.edu> (02/11/09 12:20:22)
Message:
Kill a whole bunch of unused code.

I generated a list of dead functions by building with
-ffunction-sections and linking with -Wl,--gc-sections
-Wl,--print-gc-sections

I kept a number of functions that seemed to be logical parts of an
existing API, as well as stuff in varstubs.c, since that file is
autogenerated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • popwin.c

    r818a073 rf34dd65  
    5757}
    5858
    59 int owl_popwin_display_text(owl_popwin *pw, char *text)
    60 {
    61   waddstr(pw->popwin, text);
    62   wnoutrefresh(pw->popwin);
    63   touchwin(pw->borderwin);
    64   wnoutrefresh(pw->borderwin);
    65   owl_global_set_needrefresh(&g);
    66   return(0);
    67 }             
    68 
    6959int owl_popwin_close(owl_popwin *pw)
    7060{
     
    9686}
    9787
    98 void owl_popwin_set_handler(owl_popwin *pw, void (*func)(int ch))
    99 {
    100   pw->handler=func;
    101 }
    102 
    103 void owl_popwin_unset_handler(owl_popwin *pw)
    104 {
    105   pw->handler=NULL;
    106 }
    107 
    10888WINDOW *owl_popwin_get_curswin(owl_popwin *pw)
    10989{
Note: See TracChangeset for help on using the changeset viewer.