From d91ccde9e53b5401b3436caec885e0be36722365 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 25 Apr 2013 15:15:43 +0100 Subject: [PATCH] [process] Mark process descriptor as static in PERMANENT_PROCESS There is no need for the process descriptor to be a global variable. Signed-off-by: Michael Brown --- src/include/ipxe/process.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/ipxe/process.h b/src/include/ipxe/process.h index 9b757981..2c76ff26 100644 --- a/src/include/ipxe/process.h +++ b/src/include/ipxe/process.h @@ -174,7 +174,7 @@ process_running ( struct process *process ) { * */ #define PERMANENT_PROCESS( name, step ) \ -struct process_descriptor name ## _desc = PROC_DESC_PURE ( step ); \ +static struct process_descriptor name ## _desc = PROC_DESC_PURE ( step ); \ struct process name __permanent_process = { \ .list = LIST_HEAD_INIT ( name.list ), \ .desc = & name ## _desc, \