aboutsummaryrefslogtreecommitdiff
path: root/symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'symbols.h')
-rw-r--r--symbols.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/symbols.h b/symbols.h
index bf450ba..83b07a1 100644
--- a/symbols.h
+++ b/symbols.h
@@ -15,19 +15,16 @@
#define MAX_FUNCTION_NAME 50
typedef struct {
- unsigned int address;
- char funcName[MAX_FUNCTION_NAME+1];
+ unsigned int address;
+ char funcName[MAX_FUNCTION_NAME + 1];
} func_t;
+__BEGIN_DECLS
+void initSymbol(char *imageName);
+int lookupSymbol(unsigned int address);
+void addSymbol(unsigned int address);
+void addCallTrace(unsigned int address);
+void emitSymbols(void);
+__END_DECLS
-void initSymbol( char *imageName );
-
-int lookupSymbol( unsigned int address );
-
-void addSymbol( unsigned int address );
-
-void addCallTrace( unsigned int address );
-
-void emitSymbols( void );
-
-#endif /* __SYMBOLS_H */
+#endif