From: Christophe CURIS <[email protected]>

Hello,

This (big) serie of patches does a lot of improvment in order
to have a safer code. It's all related to function prototypes,
and includes:

 - header updates (missing functions, ...)
 - prototypes at wrong places
 - incorrect/incomplete prototype (yes, really!)
 - some missing static fixes
 - a few more 'const' fixes (we're never done on these...)

Don't get too hard headaches looking at them,
Best regards,
Christophe.


 WINGs/WINGs/WINGsP.h            |  634 +++++++++++++++++++++------------------
 WINGs/dragdestination.c         |   12 +-
 WINGs/error.c                   |    2 +-
 WINGs/hashtable.c               |   18 +-
 WINGs/memory.c                  |    2 +-
 WINGs/notification.c            |    7 +-
 WINGs/proplist.c                |   14 +-
 WINGs/selection.c               |    2 +-
 WINGs/tree.c                    |    2 +-
 WINGs/userdefaults.c            |    2 -
 WINGs/usleep.c                  |    1 +
 WINGs/wapplication.c            |    1 -
 WINGs/wappresource.c            |    1 -
 WINGs/wcolorwell.c              |    4 +-
 WINGs/wevent.c                  |    8 +-
 WINGs/wfilepanel.c              |   47 +--
 WINGs/widgets.c                 |    2 -
 WINGs/wlist.c                   |    7 +-
 WINGs/wpopupbutton.c            |    2 +-
 WINGs/wprogressindicator.c      |    2 +-
 WINGs/wscroller.c               |    2 +-
 WINGs/wscrollview.c             |    4 +-
 WINGs/wslider.c                 |    2 +-
 WINGs/wtext.c                   |   10 +-
 WINGs/wtextfield.c              |    2 +-
 WINGs/wwindow.c                 |    4 +-
 WPrefs.app/Appearance.c         |   20 +-
 WPrefs.app/Docks.c              |    2 +-
 WPrefs.app/Focus.c              |    4 +-
 WPrefs.app/FontSimple.c         |    2 +-
 WPrefs.app/Makefile.am          |    1 -
 WPrefs.app/Menu.c               |   13 +-
 WPrefs.app/MouseSettings.c      |    9 +-
 WPrefs.app/Paths.c              |    2 +-
 WPrefs.app/TexturePanel.c       |    4 +-
 WPrefs.app/TexturePanel.h       |    2 +-
 WPrefs.app/Themes.c             |    2 +-
 WPrefs.app/WPrefs.c             |   54 +---
 WPrefs.app/WPrefs.h             |   47 ++-
 WPrefs.app/WindowHandling.c     |    2 +-
 WPrefs.app/double.c             |    5 +-
 WPrefs.app/double.h             |    6 -
 WPrefs.app/editmenu.c           |   12 +-
 WPrefs.app/editmenu.h           |   10 +-
 WPrefs.app/main.c               |    5 +-
 WPrefs.app/xmodifier.c          |    4 +-
 src/actions.c                   |    1 -
 src/colormap.c                  |    5 +-
 src/defaults.c                  |    2 +-
 src/event.c                     |    2 +-
 src/funcs.h                     |   64 ++--
 src/geomview.c                  |    3 +
 src/keybind.h                   |    2 +-
 src/main.c                      |    5 +-
 src/monitor.c                   |    3 +-
 src/moveres.c                   |    3 +-
 src/osdep_bsd.c                 |    1 +
 src/osdep_darwin.c              |    1 +
 src/osdep_linux.c               |    2 +
 src/osdep_stub.c                |    1 +
 src/placement.c                 |    5 +-
 src/placement.h                 |    2 +
 src/properties.c                |    1 +
 src/rootmenu.c                  |    1 +
 src/startup.c                   |    1 +
 src/winspector.h                |    2 +-
 src/workspace.c                 |    1 -
 util/Makefile.am                |    6 +-
 util/common.h                   |   33 ++
 util/convertfonts.c             |    6 +-
 util/fontconv.c                 |   13 +-
 util/geticonset.c               |    2 +-
 util/getstyle.c                 |   11 +-
 util/seticons.c                 |    2 +-
 util/setstyle.c                 |   15 +-
 util/wdread.c                   |    2 +-
 util/wdwrite.c                  |    2 +-
 util/wmagnify.c                 |    4 +-
 util/wmgenmenu.c                |    4 +-
 util/wmmenugen.c                |    4 +-
 util/wmmenugen_parse_wmconfig.c |    8 +-
 util/wmsetbg.c                  |   34 +--
 util/wxcopy.c                   |    2 +-
 util/wxpaste.c                  |    6 +-
 wrlib/load.c                    |    2 +-
 85 files changed, 683 insertions(+), 581 deletions(-)
 delete mode 100644 WPrefs.app/double.h
 create mode 100644 util/common.h

-- 
1.7.10.4


-- 
To unsubscribe, send mail to [email protected].

Reply via email to