Skip to content

Commit

Permalink
Removes stdlib, adds stddef, removes byte (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan authored Oct 8, 2019
1 parent 49fa160 commit a9b003a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := 9.1.0
VERSION := 10.0.0
MAJOR_VERSION := $(shell echo $(VERSION) | head -c 1)

# installation directory (/usr/local by default)
Expand Down
7 changes: 1 addition & 6 deletions src/cs50.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,7 @@
#include <limits.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdlib.h>

/**
* Our own type for bytes.
*/
typedef unsigned char byte;
#include <stddef.h>

/**
* Our own type for (pointers to) strings.
Expand Down

0 comments on commit a9b003a

Please sign in to comment.