From 835137a0e52f9afa6b34ab2c6ab6b5e9d965dfa2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 10 Apr 2020 23:12:41 +0200 Subject: player, ta: remove use of an old macro I thought that would make a nice idiom, but it ended up being useless or clunky. --- ta/ta_talloc.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'ta') diff --git a/ta/ta_talloc.h b/ta/ta_talloc.h index 982ef41ebd..259496f65b 100644 --- a/ta/ta_talloc.h +++ b/ta/ta_talloc.h @@ -156,7 +156,4 @@ char *ta_talloc_asprintf_append_buffer(char *s, const char *fmt, ...) TA_PRF(2, : false \ ) -#define talloc_struct(ctx, type, ...) \ - talloc_memdup(ctx, &(type) TA_EXPAND_ARGS(__VA_ARGS__), sizeof(type)) - #endif -- cgit v1.2.3