diff mbox series

[1/1] doc: Document "No new API functions for old API" rule

Message ID 20240802100816.1617563-1-pvorel@suse.cz
State Accepted
Headers show
Series [1/1] doc: Document "No new API functions for old API" rule | expand

Commit Message

Petr Vorel Aug. 2, 2024, 10:08 a.m. UTC
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 doc/developers/ltp_library.rst | 2 ++
 1 file changed, 2 insertions(+)

Comments

Li Wang Aug. 3, 2024, 2:38 a.m. UTC | #1
Reviewed-by: Li Wang <liwang@redhat.com>
Li Wang Aug. 6, 2024, 9:31 a.m. UTC | #2
Patch merged.
diff mbox series

Patch

diff --git a/doc/developers/ltp_library.rst b/doc/developers/ltp_library.rst
index c103665164..f76cbb75e6 100644
--- a/doc/developers/ltp_library.rst
+++ b/doc/developers/ltp_library.rst
@@ -12,6 +12,8 @@  for :doc:`writing tests <../developers/writing_tests>`
 
 #. LTP library tests must go inside :master:`lib/newlib_tests` directory
 #. LTP documentation has to be updated according to API changes
+#. Do not add new API functions to the old API. Add new functions to
+   ``tst_.[ch]`` files.
 
 Shell API
 ---------