[libcamera-devel] [PATCH 04/38] libcamera: process: forward-declare EventNotifier

paul.elder at ideasonboard.com paul.elder at ideasonboard.com
Thu Sep 24 02:52:31 CEST 2020


Hi Jacopo,

On Wed, Sep 23, 2020 at 12:44:09PM +0200, Jacopo Mondi wrote:
> Hi Paul,
> 
> On Tue, Sep 22, 2020 at 10:35:03PM +0900, Paul Elder wrote:
> > EventNotifier is not included; forward-declare it to satisfy the
> > compiler
> >
> 
> Where is it needed ? I don't see it used in process.h

Line 71:
	void sighandler(EventNotifier *notifier);

Line 76:
	EventNotifier *sigEvent_;

> > Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
> >
> > ---
> > New in v2
> > ---
> >  include/libcamera/internal/process.h | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/include/libcamera/internal/process.h b/include/libcamera/internal/process.h
> > index 458a2149..254cda85 100644
> > --- a/include/libcamera/internal/process.h
> > +++ b/include/libcamera/internal/process.h
> > @@ -15,6 +15,8 @@
> >
> >  namespace libcamera {
> >
> > +class EventNotifier;
> > +
> >  class Process final
> >  {
> >  public:
> > --
> > 2.27.0


Paul


More information about the libcamera-devel mailing list