Skip to content

Commit

Permalink
replace stdarg.h with cstdarg
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansev authored and gganis committed Nov 23, 2021
1 parent 694ce10 commit 486b990
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/XrdCl/XrdClLog.hh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#ifndef __XRD_CL_LOG_HH__
#define __XRD_CL_LOG_HH__

#include <stdarg.h>
#include <cstdarg>
#include <string>
#include <map>
#include <cstdint>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCms/XrdCmsParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <cstdio>
#include <errno.h>
#include <cinttypes>
#include <stdarg.h>
#include <cstdarg>
#include <stddef.h>
#include <cstdlib>
#include <cstring>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdOfs/XrdOfsEvs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/******************************************************************************/

#include <ctype.h>
#include <stdarg.h>
#include <cstdarg>
#include <stddef.h>
#include <cstdlib>
#include <cstdio>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdOuc/XrdOucArgs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/* specific prior written permission of the institution or contributor. */
/******************************************************************************/

#include <stdarg.h>
#include <cstdarg>
#include <cstdlib>
#include <cstdio>
#include <strings.h>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdOuc/XrdOucString.hh
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@

#include <cstdio>
#include <cstdlib>
#include <stdarg.h>
#include <cstdarg>

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion src/XrdPosix/XrdPosix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/* specific prior written permission of the institution or contributor. */
/******************************************************************************/

#include <stdarg.h>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <sys/param.h>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdPosix/XrdPosixPreload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/******************************************************************************/

#include <sys/types.h>
#include <stdarg.h>
#include <cstdarg>
#include <unistd.h>
#include <cstdlib>

Expand Down
2 changes: 1 addition & 1 deletion src/XrdPosix/XrdPosixPreload32.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include <errno.h>
#include <dirent.h>
#include <cstdio>
#include <stdarg.h>
#include <cstdarg>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSciTokens/vendor/picojson/picotest/picotest.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
#include <stdarg.h>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include "picotest.h"
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSec/XrdSecProtect.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include <cinttypes>
#include <netinet/in.h>
#include <stdarg.h>
#include <cstdarg>
#include <cstring>
#include <sys/types.h>
#include <sys/uio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSsi/XrdSsiLogger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#include <fcntl.h>
#include <cstdio>
#include <stdarg.h>
#include <cstdarg>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSsi/XrdSsiLogger.hh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/* specific prior written permission of the institution or contributor. */
/******************************************************************************/

#include <stdarg.h>
#include <cstdarg>

//-----------------------------------------------------------------------------
//! The XrdSsiLogger object is used to route messages to the default log file.
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSsi/XrdSsiLogging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <fcntl.h>
#include <iostream>
#include <cstdio>
#include <stdarg.h>
#include <cstdarg>
#include <sys/types.h>
#include <sys/stat.h>

Expand Down

0 comments on commit 486b990

Please sign in to comment.