Revision fd3ab91ce651d4d0a4ecc21fb7d2246a4da056d5 authored by Junio C Hamano on 28 March 2017, 20:52:23 UTC, committed by Junio C Hamano on 28 March 2017, 20:52:23 UTC
Fix for NO_PTHREADS build.

* jk/execv-dashed-external:
  run-command: fix segfault when cleaning forked async process
2 parent s c953cf9 + 7b91929
Raw File
decorate.h
#ifndef DECORATE_H
#define DECORATE_H

struct object_decoration {
	const struct object *base;
	void *decoration;
};

struct decoration {
	const char *name;
	unsigned int size, nr;
	struct object_decoration *hash;
};

extern void *add_decoration(struct decoration *n, const struct object *obj, void *decoration);
extern void *lookup_decoration(struct decoration *n, const struct object *obj);

#endif
back to top