From f48cad9cecfd26907d8178dc49fa4c0aa1b94cb5 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 May 2000 19:16:39 +0000 Subject: [PATCH] Constant of 4 for size is bad. --- c/src/exec/score/include/rtems/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/src/exec/score/include/rtems/system.h b/c/src/exec/score/include/rtems/system.h index 6db19e8c62..b1a2382ea4 100644 --- a/c/src/exec/score/include/rtems/system.h +++ b/c/src/exec/score/include/rtems/system.h @@ -187,10 +187,10 @@ SCORE_EXTERN rtems_cpu_table _CPU_Table; /* CPU dependent info */ (_CPU_Table.stack_free_hook) /* - * XXX weird RTEMS stuff + * XXX weird RTEMS stuff that probably should be somewhere else. */ -#define RTEMS_MAXIMUM_NAME_LENGTH 4 +#define RTEMS_MAXIMUM_NAME_LENGTH sizeof(rtems_name) #ifdef __cplusplus }