Skip to content

Commit e9c0fe4

Browse files
committed
Remove cstdlib.h
This header shouldn't exist.
1 parent 31039e3 commit e9c0fe4

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed
Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
#include "cstdlib.h"
1+
#ifndef _GHLIBCPP_CSTDLIB
2+
#define _GHLIBCPP_CSTDLIB
3+
#include "stdlib.h"
4+
namespace std {
5+
using ::_Exit;
6+
using ::abort;
7+
using ::at_quick_exit;
8+
using ::atexit;
9+
using ::atof;
10+
using ::atoi;
11+
using ::atol;
12+
using ::atoll;
13+
using ::exit;
14+
using ::free;
15+
using ::malloc;
16+
using ::quick_exit;
17+
using ::rand;
18+
} // namespace std
19+
#endif // _GHLIBCPP_CSTDLIB

cpp/common/test/includes/standard-library/cstdlib.h

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)