mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
fb3ef04d20
git-subtree-dir: contrib/unifdef git-subtree-mainline:3b7ffacdee
git-subtree-split:0da4488583
37 lines
466 B
Plaintext
37 lines
466 B
Plaintext
--- mif1.c~
|
|
+++ mif1.c
|
|
@@ -5,19 +5,9 @@
|
|
#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
|
|
-#endif
|
|
|
|
int main()
|
|
{
|
|
--- mif2.c~
|
|
+++ mif2.c
|
|
@@ -5,11 +5,7 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
-#if defined(FOO)
|
|
int foo() { return 0; }
|
|
-#else
|
|
-#error FOO not defined
|
|
-#endif
|
|
|
|
int main()
|
|
{
|