asterisk / libpri

PRI Library
GNU General Public License v2.0
10 stars 14 forks source link

Fix compile on GNU CC 11 with -Werror #4

Closed brown1d closed 1 year ago

brown1d commented 1 year ago

Zero length arrays must be at the end of a structure.

Introduce union into Q.931 (pri_q931.h, and q931.c) to allow raw and structure access Remove FCS from Q.921 (pri_q921.h) as this is not set or referenced else where.

Tested using PRI over T1 between Asterisk 20.1.0, and Cisco 3845 IOS 12

gtjoseph commented 1 year ago

This should now be fixed