Changeset f34dd65 for owl.h


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
  • owl.h

    r40c6657 rf34dd65  
    377377  int active;
    378378  int needsfirstrefresh;
    379   void (*handler) (int ch);
    380379} owl_popwin;
    381380
     
    404403typedef struct _owl_filter {
    405404  char *name;
    406   int polarity;
    407405  owl_filterelement * root;
    408406  int fgcolor;
     
    445443} owl_editwin;
    446444
    447 typedef struct _owl_mux {
    448   int handle;                   /* for referencing this */
    449   int active;                   /* has this been deleted? */
    450   int fd;                     
    451   int eventmask;                /* bitmask of OWL_MUX_* */
    452   void (*handler_fn)(int handle, int fd, int eventmask, void *data);
    453   void *data;                   /* data reference to pass to callback */
    454 } owl_mux;
    455 typedef owl_list owl_muxevents;
    456 
    457445typedef struct _owl_keybinding {
    458446  int  *j;                      /* keypress stack (0-terminated) */ 
     
    541529  owl_list filterlist;
    542530  owl_list puntlist;
    543   owl_muxevents muxevents;      /* fds to dispatch on */
    544531  owl_vardict vars;
    545532  owl_cmddict cmds;
Note: See TracChangeset for help on using the changeset viewer.