Changeset f34dd65 for functions.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
  • functions.c

    r99b50a5 rf34dd65  
    1414
    1515static const char fileIdent[] = "$Id$";
    16 
    17 void owl_function_noop(void)
    18 {
    19   return;
    20 }
    2116
    2217char *owl_function_command(char *cmdbuff)
     
    717712}
    718713
    719 void owl_function_nextmsg_personal()
    720 {
    721   owl_function_nextmsg_full("personal", 0, 0);
    722 }
    723 
    724 void owl_function_prevmsg_personal()
    725 {
    726   owl_function_prevmsg_full("personal", 0, 0);
    727 }
    728 
    729 
    730714/* if move_after is 1, moves after the delete */
    731715void owl_function_deletecur(int move_after)
     
    12761260
    12771261  va_end(ap);
    1278 }
    1279 
    1280 void owl_function_refresh()
    1281 {
    1282   owl_function_resize();
    12831262}
    12841263
     
    16471626  owl_global_set_typwin_lines(&g, newsize);
    16481627  owl_function_resize();
    1649 }
    1650 
    1651 void owl_function_typwin_grow()
    1652 {
    1653   int i;
    1654 
    1655   i=owl_global_get_typwin_lines(&g);
    1656   owl_function_resize_typwin(i+1);
    1657 }
    1658 
    1659 void owl_function_typwin_shrink()
    1660 {
    1661   int i;
    1662 
    1663   i=owl_global_get_typwin_lines(&g);
    1664   if (i>2) {
    1665     owl_function_resize_typwin(i-1);
    1666   }
    16671628}
    16681629
Note: See TracChangeset for help on using the changeset viewer.