mirror of
https://github.com/opnsense/src.git
synced 2026-02-10 14:25:50 -05:00
When searching back for function definitions, consider lines starting with '+' and '-', this allows us to pick up Objective-C methods as well as C style function definitions. Reviewed by: bapt Sponsored by: Klara Inc. Differential Revision: https://reviews.freebsd.org/D34202
11 lines
160 B
Text
11 lines
160 B
Text
--- functionname.in
|
|
+++ functionname_c.in
|
|
@@ -6,7 +6,7 @@ doSomethingThenPrintHello(int test)
|
|
return;
|
|
}
|
|
|
|
- print("goodbye\n");
|
|
+ print("hello\n");
|
|
}
|
|
|
|
|