[asterisk-bugs] [Asterisk 0007884]: pciradio.c include moduleparam.h missing
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 11:57:39 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=7884
======================================================================
Reported By: iceberg13de
Assigned To: file
======================================================================
Project: Asterisk
Issue ID: 7884
Category: Core/General
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: I did not set the version :(
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: No
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 09-05-2006 03:38 CDT
Last Modified: 06-07-2008 11:57 CDT
======================================================================
Summary: pciradio.c include moduleparam.h missing
Description:
I could reproduce Issue http://bugs.digium.com/view.php?id=0007263.
CC [M] /root/install/zaptel-1.2.8/pciradio.o
/root/install/zaptel-1.2.8/pciradio.c:1811: error: parse error before
"int"
/root/install/zaptel-1.2.8/pciradio.c:1811: warning: type defaults to
`int' in declaration of `module_param'
/root/install/zaptel-1.2.8/pciradio.c:1811: warning: function declaration
isn't a prototype
/root/install/zaptel-1.2.8/pciradio.c:1811: warning: data definition has
no type or storage class
After adding this line (http://bugs.digium.com/view.php?id=49) to pciradio.c it
was gone:
#include <linux/moduleparam.h>
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0007263 pciradio.c does not compile with linux 2.6
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 11:57
----------------------------------------------------------------------
Repository: dahdi
Revision: 1431
U branches/1.2/pciradio.c
------------------------------------------------------------------------
r1431 | file | 2008-06-07 11:57:13 -0500 (Sat, 07 Jun 2008) | 2 lines
Include moduleparam.h like every other module for certain 2.6 kernels
(issue http://bugs.digium.com/view.php?id=7884 reported by iceberg13de)
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=1431
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 11:57 svnbot Note Added: 0088171
======================================================================
More information about the asterisk-bugs
mailing list