mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 04:09:26 +08:00
CONTRIBUTING: Fix sed command example
This commit is contained in:
parent
0d01764988
commit
4ed738a0f4
@ -194,7 +194,7 @@ original FreeBSD code.
|
|||||||
```
|
```
|
||||||
The following command may be useful:
|
The following command may be useful:
|
||||||
```
|
```
|
||||||
sed -i 's%#include <machine/rtems-bsd-user-space.h>%#include <machine/rtems-bsd-user-space.h>\n#ifdef __rtems__\n#include <machine/rtems-bsd-program.h>\n#include "rtems-bsd-PROGNAME-namespace.h"\n#endif /* __rtems__ */%' *.c
|
sed -i 's%#include <machine/rtems-bsd-user-space.h>%#include <machine/rtems-bsd-user-space.h>\n\n#ifdef __rtems__\n#include <machine/rtems-bsd-program.h>\n#include "rtems-bsd-PROGNAME-namespace.h"\n#endif /* __rtems__ */%' *.c
|
||||||
```
|
```
|
||||||
* At the bottom of each source file place the follwing:
|
* At the bottom of each source file place the follwing:
|
||||||
```c
|
```c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user