Changeset a57dfa0 in rtems-libbsd for libbsd.txt
- Timestamp:
- 07/15/15 07:57:45 (9 years ago)
- Branches:
- 4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- 6201756
- Parents:
- c6e5395
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libbsd.txt
rc6e5395 ra57dfa0 435 435 === Rules for Modifying FreeBSD Source 436 436 437 Only add lines. Subtract code by added `#ifndef __rtems__`. This makes 438 merging easier in the future. For example: 437 Only add lines. If your patch contains lines starting with a '-', then this is 438 wrong. Subtract code by added `#ifndef __rtems__`. This makes merging easier 439 in the future. For example: 439 440 440 441 ------------------------------------------------------------------------------- … … 480 481 481 482 Add nothing (even blank lines) before or after the `__rtems__` guards. Always 482 include a `__rtems__` in the guards to make searches easy. 483 include a `__rtems__` in the guards to make searches easy, so use 484 485 * `#ifndef __rtems__`, 486 * `#ifdef __rtems__`, 487 * `#else /* __rtems__ */`, and 488 * `#endif /* __rtems__ */`. 489 490 For new code use 491 http://www.freebsd.org/cgi/man.cgi?query=style&apropos=0&sektion=9&manpath=FreeBSD+9.2-RELEASE&arch=default&format=html[STYLE(9)]. 492 Do not format original FreeBSD code. 483 493 484 494 == BSD Library Source
Note: See TracChangeset
for help on using the changeset viewer.