lib/string/sprintf/, lib/, src/, tests/: Move all sprintf(3)-like APIs to a subdirectory

And have a separate file for each pair of APIs.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar
2024-07-01 21:40:11 -05:00
committed by Serge Hallyn
parent 89e4be3957
commit 22272347b6
38 changed files with 152 additions and 132 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
#include "pwio.h"
#include "shadowio.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/strftime.h"
#include "string/strtcpy.h"
#include "time/day_to_str.h"
+1 -1
View File
@@ -32,7 +32,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/strtcpy.h"
+1 -1
View File
@@ -35,7 +35,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/strtcpy.h"
+1 -1
View File
@@ -39,8 +39,8 @@
#include "sgroupio.h"
#endif
#include "shadowlog.h"
#include "string/sprintf/stpeprintf.h"
#include "string/stpecpy.h"
#include "string/stpeprintf.h"
/*
+1 -1
View File
@@ -38,7 +38,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/strftime.h"
#include "string/strtcpy.h"
+1 -1
View File
@@ -25,7 +25,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
/*
+1 -1
View File
@@ -52,7 +52,7 @@
#endif /* ENABLE_SUBIDS */
#include "chkname.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
/*
+1 -1
View File
@@ -59,7 +59,7 @@
/*@-exitarg@*/
#include "exitcodes.h"
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/strtcpy.h"
+2 -1
View File
@@ -65,7 +65,8 @@
#include "tcbfuncs.h"
#endif
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/sprintf/xasprintf.h"
#ifndef SKEL_DIR
+1 -1
View File
@@ -52,7 +52,7 @@
#include "subordinateio.h"
#endif /* ENABLE_SUBIDS */
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/xasprintf.h"
/*
+1 -1
View File
@@ -61,7 +61,7 @@
#include "tcbfuncs.h"
#endif
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/xasprintf.h"
#include "time/day_to_str.h"
+2 -1
View File
@@ -44,7 +44,8 @@
#include "tcbfuncs.h"
#endif /* WITH_TCB */
#include "shadowlog.h"
#include "string/sprintf.h"
#include "string/sprintf/snprintf.h"
#include "string/sprintf/xasprintf.h"
#define MSG_WARN_EDIT_OTHER_FILE _( \