Project

General

Profile

Actions

Bug #5556

closed

CIF misses static keyword for local declarations

Added by Vadim Mutilin over 9 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
High
Category:
C back-end
Start date:
01/14/2015
Due date:
% Done:

0%

Estimated time:
Detected in build:
ldv-v0.7
Platform:
Published in build:

Description

If the original code contain local static declaration, like (add_chan function)

134 static int add_chan(struct pppox_sock *sock)
135 {
136         static int call_id;

CIF prints output code without static, for example
static int add_chan(struct pppox_sock *sock)
{
  int call_id;

Actions

Also available in: Atom PDF