cvs commit: src/sbin/ggate/ggated ggated.c

Mike Makonnen mtm at
Thu Jun 26 07:05:49 UTC 2008

mtm         2008-06-26 07:05:35 UTC

  FreeBSD src repository

  Modified files:
    sbin/ggate/ggated    ggated.c 
  SVN rev 180020 on 2008-06-26 07:05:35Z by mtm
  The signature for a pthread function requires that it
  return a pointer to a void. The send_thread() and disk_thread()
  funtions; however, do not have a return value because they run for
  the duration of the daemon's lifetime. This causes gcc to barf when
  running with -O3. Make these functions return a null pointer to quiet it.
  PR:     bin/124342
  Submitted by:   Garrett Cooper <gcooper at> (minus his comments)
  MFC after:      1 week
  Revision  Changes    Path
  1.11      +6 -0      src/sbin/ggate/ggated/ggated.c

More information about the cvs-src mailing list