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

Petr Vorel pvorel@suse.cz
Fri Aug 2 12:08:16 CEST 2024


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

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
 ---------
-- 
2.45.2



More information about the ltp mailing list