Skip to content

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CODING_STYLE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
want to call it "big endian" right-away.
409409

410410
- You might wonder what kind of common code belongs in src/shared/ and what
411-
belongs in src/util/. The split is like this: anything that uses public APIs
411+
belongs in src/basic/. The split is like this: anything that uses public APIs
412412
we expose (i.e. any of the sd-bus, sd-login, sd-id128, ... APIs) must be
413413
located in src/shared/. All stuff that only uses external libraries from
414414
other projects (such as glibc's APIs), or APIs from src/basic/ itself should
@@ -418,11 +418,11 @@
418418
src/basic/ → may be used by all code in the tree
419419
→ may not use any code outside of src/basic/
420420

421-
src/shared/ → may be used by all code in the tree, except for code in src/basic/
422-
→ may not use any code outside of src/basic/, src/shared/, src/libsystemd/
423-
424421
src/libsystemd/ → may be used by all code in the tree, except for code in src/basic/
425-
→ may not use any code outside of src/basic/, src/shared/, src/libsystemd/
422+
→ may not use any code outside of src/basic/, src/libsystemd/
423+
424+
src/shared/ → may be used by all code in the tree, except for code in src/basic/, src/libsystemd/
425+
→ may not use any code outside of src/basic/, src/libsystemd/, src/shared/
426426

427427
- Our focus is on the GNU libc (glibc), not any other libcs. If other libcs are
428428
incompatible with glibc it's on them. However, if there are equivalent POSIX

0 commit comments

Comments
 (0)