summaryrefslogtreecommitdiff
path: root/dm_error.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-09-17 18:33:54 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-09-17 19:22:24 -0700
commitda3cfcdd197bd900633c563412685315316804f4 (patch)
tree2eb75e260543cf41cc264e697ff083184328f86c /dm_error.h
parenta7e166298a94c012420713dbfcd0b1628f5c7062 (diff)
Refactor & constify error logging code
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'dm_error.h')
-rw-r--r--dm_error.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dm_error.h b/dm_error.h
index e32ba0b..739da7b 100644
--- a/dm_error.h
+++ b/dm_error.h
@@ -40,13 +40,13 @@ authorization.
# define GCC_PRINTFLIKE(fmt,var) /*nothing*/
# endif
-extern void Debug (char * fmt, ...) GCC_PRINTFLIKE(1,2);
+extern void Debug (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
extern void InitErrorLog (void);
-extern void LogAppend (char * fmt, ...) GCC_PRINTFLIKE(1,2);
-extern void LogError (char * fmt, ...) GCC_PRINTFLIKE(1,2);
-extern void LogInfo (char * fmt, ...) GCC_PRINTFLIKE(1,2);
-extern void LogOutOfMem (char * fmt, ...) GCC_PRINTFLIKE(1,2);
-extern void LogPanic (char * fmt, ...) GCC_PRINTFLIKE(1,2);
+extern void LogAppend (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
+extern void LogError (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
+extern void LogInfo (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
+extern void LogOutOfMem (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
+extern void LogPanic (const char * fmt, ...) GCC_PRINTFLIKE(1,2);
#endif /* _DM_ERROR_H_ */