diff options
author | jochemberndsen@dse.nl <unknown> | 2007-09-27 13:26:19 +0000 |
---|---|---|
committer | jochemberndsen@dse.nl <unknown> | 2007-09-27 13:26:19 +0000 |
commit | 2b52b76bf04d6bcb2f62971126451d9dc5d90871 (patch) | |
tree | ffa1d889601b753549be1ba7bb668907dbe923d8 /includes | |
parent | 3063e93f259af9f0d3771bdbabee86aabb8a3230 (diff) | |
download | haskell-2b52b76bf04d6bcb2f62971126451d9dc5d90871.tar.gz |
FIX BUILD addDLL returns const char*
addDLL returns const char*, not just a char*.
Fix compiler warning
Diffstat (limited to 'includes')
-rw-r--r-- | includes/Linker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/Linker.h b/includes/Linker.h index 681a7f9199..053d411153 100644 --- a/includes/Linker.h +++ b/includes/Linker.h @@ -31,7 +31,7 @@ HsInt loadObj( char *path ); HsInt resolveObjs( void ); /* load a dynamic library */ -char *addDLL( char* dll_name ); +const char *addDLL( char* dll_name ); extern void markRootPtrTable(void (*)(StgClosure **)); |