Browse Source

Merge branch 'jdl'

main
Jon Loeliger 19 years ago
parent
commit
a73b7d43d4
  1. 18
      data.c

18
data.c

@ -20,24 +20,6 @@


#include "dtc.h" #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) void fixup_free(struct fixup *f)
{ {
free(f->ref); free(f->ref);

Loading…
Cancel
Save