add a few more ignore files
remove compiler warnings

- redundant redeclaration of environ
- missing prototype for setproctitle_init()
hostnames are possibly transient and not permanent

- localHostname() function in xdm/util.c was assuming that once
  the local host name was read once, it will always be the same.

  For a dynamically assigned hostname, this is not the case.
  systemd(8) brings XDM up so fast that the hostname has not yet
  been assigned an always yeilds "localhost", which is useless
  and pointless.  XDM must consider that the hostname may change
  at any time and reitrieve it on demand.

- registerHostname() in xdm/xdmcp.c was doing a similar thing
  (calling localHostname() once on socket creation, populating
  an ARRAY8 with the name and then never changing it again).
  This Hostname ARRAY8 is used to send WILLING and UNWILLING
  mesages.  Because systemd(8) brings XDM up so fast on a system
  with a dynamcially assigned hostnames, this was always
  "localhost", which is useless and pointless.  Change to lookup
  the hostname each time that a WILLING or UNWILLING message is
  sent instead of just once at startup.