Project

General

Profile

Actions

Optimization #7297

closed

Remove duplicate function declarations

Added by Philippe Antoine about 2 months ago. Updated 15 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:
Beginner, C, Good First Issue, Outreachy

Description

As in https://github.com/OISF/suricata/pull/11856

cat src/*.h | sort | uniq -c | awk '$1 == 2' finds all duplicated lines

SCRunmodeGet in suricata.h is another duplicate to remove

Actions

Also available in: Atom PDF