Skip to content

Commit c667007

Browse files
committed
Drop malloc.h include
malloc.h is deprecated (and including it fails to compile on some systems). stdlib.h is enough for malloc()
1 parent e6f1a41 commit c667007

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tetris.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
* along with this program. If not, see <http://www.gnu.org/licenses/>.
2121
*/
2222

23-
#include <malloc.h>
2423
#include <stdio.h>
2524
#include <stdlib.h>
2625
#include <time.h>

0 commit comments

Comments
 (0)