[asterisk-bugs] [Asterisk 0011394]: [patch] Add missing includes in SVN Trunk
noreply at bugs.digium.com
noreply at bugs.digium.com
Thu Nov 29 12:54:45 CST 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11394
======================================================================
Reported By: jamesgolovich
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 11394
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 89980
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 11-27-2007 19:55 CST
Last Modified: 11-29-2007 12:54 CST
======================================================================
Summary: [patch] Add missing includes in SVN Trunk
Description:
Due to the recent changes abstract_jb.h and lock.h are missing the
declaration of ast_channel
This simple patch fixes this
======================================================================
----------------------------------------------------------------------
jamesgolovich - 11-29-07 12:54
----------------------------------------------------------------------
Looks like anything with lock.h included.
[CC] astman.c -> astman.o
In file included from
/home/james/src/svnrepo/asterisk-trunk/include/asterisk/linkedlists.h:23,
from astman.c:40:
/home/james/src/svnrepo/asterisk-trunk/include/asterisk/lock.h:1191:
warning: `struct ast_channel' declared inside parameter list
/home/james/src/svnrepo/asterisk-trunk/include/asterisk/lock.h:1191:
warning: its scope is only this definition or declaration, which is
probably not what you want
/home/james/src/svnrepo/asterisk-trunk/include/asterisk/lock.h:1196:
warning: `struct ast_channel' declared inside parameter list
/home/james/src/svnrepo/asterisk-trunk/include/asterisk/lock.h:1200:
warning: `struct ast_channel' declared inside parameter list
make[1]: *** [astman.o] Error 1
make: *** [utils] Error 2
For the life of me I can't get the abstract_jb.h one to show up again, so
I'm not sure exactly what file had a problem with that one. I just
recompiled completely with the lock.h fix in but no abstract_jb.h fix and
everything compiled fine.
Issue History
Date Modified Username Field Change
======================================================================
11-29-07 12:54 jamesgolovich Note Added: 0074564
======================================================================
More information about the asterisk-bugs
mailing list