mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
fb3ef04d20
git-subtree-dir: contrib/unifdef git-subtree-mainline:3b7ffacdee
git-subtree-split:0da4488583
40 lines
552 B
Plaintext
40 lines
552 B
Plaintext
--- mcrlf.c~
|
|
+++ mcrlf.c
|
|
@@ -1,14 +1,4 @@
|
|
-#if F1
|
|
int f1() { return 0; }
|
|
-#elif F2
|
|
-int f2() { return 0; }
|
|
-#elif F3
|
|
-int f3() { return 0; }
|
|
-#elif F4
|
|
-int f4() { return 0; }
|
|
-#else
|
|
-int f() { return 0; }
|
|
-#endif
|
|
\/
|
|
/\
|
|
comment
|
|
--- mif1.c~
|
|
+++ mif1.c
|
|
@@ -5,18 +5,12 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
-#if FOO
|
|
int foo() { return 0; }
|
|
-#else
|
|
-#error FOO not defined
|
|
-#endif
|
|
|
|
#if BAR
|
|
int foo() { return 0; }
|
|
-#elif FOO
|
|
-int bar() { return 0; }
|
|
#else
|
|
-#error FOO not defined
|
|
+int bar() { return 0; }
|
|
#endif
|
|
|
|
int main()
|