mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 23:36:07 -05:00
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
5 lines
83 B
C
5 lines
83 B
C
/*
|
|
* $FreeBSD$
|
|
*/
|
|
|
|
extern int __yp_ping(struct in_addr *, int, char *, short *);
|