summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor/symbols.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-09-19 11:54:00 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-09-19 11:54:00 +0000
commite7f38e82377f907539214d1a2557ca9e7c7226f7 (patch)
tree0e370d1b9b7688ab5568cd8c6de422844d4b5eb0 /cpukit/libmisc/monitor/symbols.h
parent2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-e7f38e82377f907539214d1a2557ca9e7c7226f7.tar.bz2
2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/symbols.h: Convert to private header. * monitor/monitor.h: Don't include symbols.h. Add forward decls. for symbols from symbols.h. * monitor/Makefile.am: Don't install symbols.h. * monitor/mon-symbols.c: Include "symbols.h".
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/monitor/symbols.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/libmisc/monitor/symbols.h b/cpukit/libmisc/monitor/symbols.h
index 119c879d54..978b2eb4ff 100644
--- a/cpukit/libmisc/monitor/symbols.h
+++ b/cpukit/libmisc/monitor/symbols.h
@@ -14,14 +14,16 @@
#ifndef _INCLUDE_SYMBOLS_H
#define _INCLUDE_SYMBOLS_H
+#include <rtems/monitor.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-typedef struct {
+struct _rtems_symbol_t {
rtems_unsigned32 value;
char *name;
-} rtems_symbol_t;
+} ;
#define SYMBOL_STRING_BLOCK_SIZE 4080
typedef struct rtems_symbol_string_block_s {
@@ -29,7 +31,7 @@ typedef struct rtems_symbol_string_block_s {
char buffer[SYMBOL_STRING_BLOCK_SIZE];
} rtems_symbol_string_block_t;
-typedef struct {
+struct _rtems_symbol_table_t {
rtems_unsigned32 sorted; /* are symbols sorted right now? */
rtems_unsigned32 growth_factor; /* % to grow by when needed */
@@ -50,7 +52,7 @@ typedef struct {
rtems_symbol_string_block_t *string_buffer_current;
rtems_unsigned32 strings_next; /* next byte to use in this block */
-} rtems_symbol_table_t;
+} ;
#define rtems_symbol_name(sp) ((sp)->name)
#define rtems_symbol_value(sp) ((sp)->value)