aboutsummaryrefslogtreecommitdiff
path: root/symbols.h
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2014-06-20 14:24:18 +0000
committerDimitri Sokolyuk <demon@dim13.org>2014-06-20 14:24:18 +0000
commit4f48a490f9af51f22946af72d908777af1c1f148 (patch)
tree4b59268e161ed032aca4ba88222568017e442e0d /symbols.h
parentc8d16a1660532531343da62074d7e22a8c0ba91a (diff)
indent
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