Skip to contentSkip to conversation

stacktrace: add forward-declaration struct task_struct

PATCH In review Vegard Nossum 1 participant 1 message Jul 16, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 3/13 stacktrace: add forward-declaration struct task_struct

Quoted 1 line

From 2c5f51b8bdaa509a71a479d6a11053c1db2cdd7b Mon Sep 17 00:00:00 2001

From: Vegard Nossum <[email protected]>
Date: Fri, 13 Jun 2008 15:31:11 +0200
Subject: [PATCH 03/13] stacktrace: add forward-declaration struct task_struct

This is needed if the header is to be free-standing.

---
 include/linux/stacktrace.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/stacktrace.h +2 -0
index 2a3cbe8..519ad2d 100644
@@ -2,6 +2,8 @@
 #define __LINUX_STACKTRACE_H
 
 #ifdef CONFIG_STACKTRACE
+struct task_struct;
+
 struct stack_trace {
 	unsigned int nr_entries, max_entries;
 	unsigned long *entries;
Signature · 1 line
1.5.5.1