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)
* 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


Trivial merge