[asterisk-bugs] [Asterisk 0013070]: [patch] put 'static' at beginning of declarations

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jul 14 10:32:09 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13070 
====================================================================== 
Reported By:                gknispel_proformatique
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13070
Category:                   General
Reproducibility:            N/A
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 130632 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-13-2008 19:45 CDT
Last Modified:              07-14-2008 10:32 CDT
====================================================================== 
Summary:                    [patch] put 'static' at beginning of declarations
Description: 
Attachement "illustration_const_static" shows that GCC prefers when static
is at the beginning of declarations.
The attached patch move them there for the trunk.

It has been produced by
for each in `svnrgrep -l 'const static' .` ; do sed -e "s/const
static/static const/g" -i $each ; done
then manual edition of channels/misdn/isdn_lib.c then manual inspection of
the whole result then build test.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-14-08 10:32  Corydon76      Status                   new => assigned     
07-14-08 10:32  Corydon76      Assigned To               => Corydon76       
======================================================================




More information about the asterisk-bugs mailing list