Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 07:05:35 +0000 (UTC)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/ggate/ggated ggated.c
Message-ID:  <200806260705.m5Q75mDu047893@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2008-06-26 07:05:35 UTC

  FreeBSD src repository

  Modified files:
    sbin/ggate/ggated    ggated.c 
  Log:
  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@FreeBSD.org> (minus his comments)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.11      +6 -0      src/sbin/ggate/ggated/ggated.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806260705.m5Q75mDu047893>