Skip to content

Commit 6678098

Browse files
committed
Use C++ specific include statements.
1 parent 7b1b816 commit 6678098

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

judge/runguard.cc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,23 @@
4141
#include <sys/times.h>
4242
#include <sys/resource.h>
4343
#include <sys/types.h>
44-
#include <errno.h>
44+
#include <cerrno>
4545
#include <fcntl.h>
46-
#include <signal.h>
47-
#include <stdlib.h>
46+
#include <csignal>
47+
#include <cstdlib>
4848
#include <unistd.h>
49-
#include <string.h>
50-
#include <stdarg.h>
51-
#include <stdio.h>
49+
#include <cstring>
50+
#include <cstdarg>
51+
#include <cstdio>
5252
#include <getopt.h>
5353
#include <fnmatch.h>
5454
#include <regex.h>
5555
#include <pwd.h>
5656
#include <grp.h>
57-
#include <time.h>
58-
#include <math.h>
59-
#include <limits.h>
60-
#include <inttypes.h>
57+
#include <ctime>
58+
#include <cmath>
59+
#include <climits>
60+
#include <cinttypes>
6161
#include <libcgroup.h>
6262
#include <sched.h>
6363
#include <sys/sysinfo.h>

0 commit comments

Comments
 (0)