Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hammer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vyrus
hammer
Commits
8163b398
Commit
8163b398
authored
12 years ago
by
Meredith L. Patterson
Browse files
Options
Downloads
Patches
Plain Diff
Changed other instances of malloc.h to stdlib.h for OSX compat
parent
fa6497b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/datastructures.c
+1
-1
1 addition, 1 deletion
src/datastructures.c
src/internal.h
+1
-1
1 addition, 1 deletion
src/internal.h
src/pprint.c
+1
-1
1 addition, 1 deletion
src/pprint.c
src/system_allocator.c
+1
-1
1 addition, 1 deletion
src/system_allocator.c
with
4 additions
and
4 deletions
src/datastructures.c
+
1
−
1
View file @
8163b398
...
...
@@ -2,7 +2,7 @@
#include
"hammer.h"
#include
"allocator.h"
#include
<assert.h>
#include
<
malloc
.h>
#include
<
stdlib
.h>
#include
<string.h>
// {{{ counted arrays
...
...
This diff is collapsed.
Click to expand it.
src/internal.h
+
1
−
1
View file @
8163b398
...
...
@@ -223,7 +223,7 @@ void h_hashtable_del(HHashTable* ht, void* key);
void
h_hashtable_free
(
HHashTable
*
ht
);
#if 0
#include <
malloc
.h>
#include <
stdlib
.h>
#define h_arena_malloc(a, s) malloc(s)
#endif
...
...
This diff is collapsed.
Click to expand it.
src/pprint.c
+
1
−
1
View file @
8163b398
...
...
@@ -20,7 +20,7 @@
#include
<string.h>
#include
"hammer.h"
#include
"internal.h"
#include
<
malloc
.h>
#include
<
stdlib
.h>
typedef
struct
pp_state
{
int
delta
;
...
...
This diff is collapsed.
Click to expand it.
src/system_allocator.c
+
1
−
1
View file @
8163b398
#include
<
malloc
.h>
#include
<
stdlib
.h>
#include
"internal.h"
static
void
*
system_alloc
(
HAllocator
*
allocator
,
size_t
size
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment