Skip to content

Commit a9b003a

Browse files
authored
Removes stdlib, adds stddef, removes byte (#185)
1 parent 49fa160 commit a9b003a

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION := 9.1.0
1+
VERSION := 10.0.0
22
MAJOR_VERSION := $(shell echo $(VERSION) | head -c 1)
33

44
# installation directory (/usr/local by default)

src/cs50.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,7 @@
4343
#include <limits.h>
4444
#include <stdarg.h>
4545
#include <stdbool.h>
46-
#include <stdlib.h>
47-
48-
/**
49-
* Our own type for bytes.
50-
*/
51-
typedef unsigned char byte;
46+
#include <stddef.h>
5247

5348
/**
5449
* Our own type for (pointers to) strings.

0 commit comments

Comments
 (0)