Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2011 01:54:51 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228618 - head/sbin/devd
Message-ID:  <201112170154.pBH1sphH037485@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sat Dec 17 01:54:51 2011
New Revision: 228618
URL: http://svn.freebsd.org/changeset/base/228618

Log:
  In sbin/devd/devd.h, 'event_proc' and 'eps' are declared as structs.  In
  devd.hh, there are redeclared as classes.  Fix the inconsistency.
  
  MFC after:	1 week

Modified:
  head/sbin/devd/devd.hh

Modified: head/sbin/devd/devd.hh
==============================================================================
--- head/sbin/devd/devd.hh	Sat Dec 17 01:51:12 2011	(r228617)
+++ head/sbin/devd/devd.hh	Sat Dec 17 01:54:51 2011	(r228618)
@@ -65,7 +65,7 @@ private:
  * eps is short for event_proc_single.  It is a single entry in an
  * event_proc.  Each keyword needs its own subclass from eps.
  */
-class eps
+struct eps
 {
 public:
 	eps() {}
@@ -126,7 +126,7 @@ private:
 	std::string _cmd;
 };
 
-class event_proc
+struct event_proc
 {
 public:
 	event_proc();



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