• Richard Mudgett's avatar
    Fix compile error in pridump.c. · 5e3581c9
    Richard Mudgett authored
    With gcc 4.6.3 it's possible to get the following error:
    
      $ make
      gcc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC  -O2  -MD -MT pridump.o -MF .pridump.o.d -MP -c -o pridump.o pridump.c
      pridump.c: In function \u2018pri_bridge\u2019:
      pridump.c:117:1: error: no return statement in function returning non-void [-Werror=return-type]
      cc1: all warnings being treated as errors
      make: *** [pridump.o] Error 1
    
    Changing the function return value to void fixes the issue since there
    were no places in the code that used the return value.
    
    (closes issue PRI-143)
    Reported by: Birger "WIMPy" Harzenetter
    Patches:
          0001-Fix-no-return-statement-in-function-returning-non-vo.patch (license #5417) patch uploaded by Shaun Ruffell
    
    
    git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2298 2fbb986a-6c06-0410-b554-c9c1f0a7f128
    5e3581c9
Name
Last commit
Last update
build_tools Loading commit data...
doc Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
TODO Loading commit data...
asn1.h Loading commit data...
asn1_primitive.c Loading commit data...
compat.h Loading commit data...
compiler.h Loading commit data...
copy_string.c Loading commit data...
libpri.h Loading commit data...
pri.c Loading commit data...
pri_aoc.c Loading commit data...
pri_cc.c Loading commit data...
pri_facility.c Loading commit data...
pri_facility.h Loading commit data...
pri_internal.h Loading commit data...
pri_q921.h Loading commit data...
pri_q931.h Loading commit data...
pridump.c Loading commit data...
prisched.c Loading commit data...
pritest.c Loading commit data...
q921.c Loading commit data...
q931.c Loading commit data...
rose.c Loading commit data...
rose.h Loading commit data...
rose_address.c Loading commit data...
rose_etsi_aoc.c Loading commit data...
rose_etsi_cc.c Loading commit data...
rose_etsi_diversion.c Loading commit data...
rose_etsi_ect.c Loading commit data...
rose_etsi_mwi.c Loading commit data...
rose_internal.h Loading commit data...
rose_other.c Loading commit data...
rose_q931.c Loading commit data...
rose_qsig_aoc.c Loading commit data...
rose_qsig_cc.c Loading commit data...
rose_qsig_ct.c Loading commit data...
rose_qsig_diversion.c Loading commit data...
rose_qsig_mwi.c Loading commit data...
rose_qsig_name.c Loading commit data...
rosetest.c Loading commit data...
testprilib.c Loading commit data...