mirror of
https://github.com/dgibson/dtc.git
synced 2026-04-11 16:37:42 -04:00
Merge branch 'jdl'
This commit is contained in:
commit
a73b7d43d4
1 changed files with 0 additions and 18 deletions
18
data.c
18
data.c
|
|
@ -20,24 +20,6 @@
|
|||
|
||||
#include "dtc.h"
|
||||
|
||||
#if 0
|
||||
static struct data data_init_buf(char *buf, int len)
|
||||
{
|
||||
struct data d;
|
||||
|
||||
d.asize = 0;
|
||||
d.len = len;
|
||||
d.val = buf;
|
||||
|
||||
return d;
|
||||
}
|
||||
|
||||
struct data data_ref_string(char *str)
|
||||
{
|
||||
return data_init_buf(str, strlen(str)+1);
|
||||
}
|
||||
#endif
|
||||
|
||||
void fixup_free(struct fixup *f)
|
||||
{
|
||||
free(f->ref);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue