Compiler & warning related updates/fixes from Nelson
authorSteve Youngs <steve@sxemacs.org>
Sun, 6 Dec 2015 23:26:44 +0000 (09:26 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sun, 6 Dec 2015 23:26:44 +0000 (09:26 +1000)
commitfd2c93018b11b5bcb0aea8fa783f3c58046989bf
treeb1a856693c34e9aafc474945582a952a955ae2d2
parent6ea51f307b0121b67ba06111ddedbfb16189ea44
parent763caa9fff2c6041ee54193f83a7ad56e94660d3
Compiler & warning related updates/fixes from Nelson

* merges:
  Typo fix, 'max_align_t' -> 'sxe_max_align_t'
  Silence warnings about usage of deprecated function when existing alternative is not available.
  Use proper assert in lwlib
  Fix typo on include guard for term.h
  Use proper max in lwlib
  Add some prototype to silence silly warnings.
  Turn off warning about deprecated usage of __free_hook.
  Use min/max from sxe-utils
  Properly handle return from getcwd.
  Shut set but unused warnings.
  Rename our max_align_t to sxe_max_align_t
  Mark variables set but unused.
  Fixup assert definitions.
  Add SXE_SET_UNUSED to shut unused warnings.
  Cleanup utilities. Introduce sxe-memory.h
  Address static inline warning in ase.
  Prevent movemail from proceeding when setuid fails