File: static-prototypes.pl

package info (click to toggle)
libocxl 1.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 636 kB
  • sloc: ansic: 4,391; makefile: 115; sh: 109; perl: 40
file content (12 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
use English;

if (/static/) {
	s/inline //;
	s/static //;
	s/__attribute__ \(\(used\)\) //;
	s/^\s+/ /; s/,\n/,/;
	s/\)/\);/;
	s#//.*##;

    print;
}