| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * cistpl.h |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 6 | | - * published by the Free Software Foundation. |
|---|
| 7 | 4 | * |
|---|
| 8 | 5 | * The initial developer of the original code is David A. Hinds |
|---|
| 9 | 6 | * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds |
|---|
| .. | .. |
|---|
| 164 | 161 | |
|---|
| 165 | 162 | typedef struct cistpl_funce_t { |
|---|
| 166 | 163 | u_char type; |
|---|
| 167 | | - u_char data[0]; |
|---|
| 164 | + u_char data[]; |
|---|
| 168 | 165 | } cistpl_funce_t; |
|---|
| 169 | 166 | |
|---|
| 170 | 167 | /*====================================================================== |
|---|
| .. | .. |
|---|
| 258 | 255 | u_char escape; |
|---|
| 259 | 256 | u_char encrypt; |
|---|
| 260 | 257 | u_char misc_features; |
|---|
| 261 | | - u_char ccitt_code[0]; |
|---|
| 258 | + u_char ccitt_code[]; |
|---|
| 262 | 259 | } cistpl_data_serv_t; |
|---|
| 263 | 260 | |
|---|
| 264 | 261 | typedef struct cistpl_fax_serv_t { |
|---|
| .. | .. |
|---|
| 268 | 265 | u_char encrypt; |
|---|
| 269 | 266 | u_char features_0; |
|---|
| 270 | 267 | u_char features_1; |
|---|
| 271 | | - u_char ccitt_code[0]; |
|---|
| 268 | + u_char ccitt_code[]; |
|---|
| 272 | 269 | } cistpl_fax_serv_t; |
|---|
| 273 | 270 | |
|---|
| 274 | 271 | typedef struct cistpl_voice_serv_t { |
|---|