-const char errlog_rcs[] = "$Id: errlog.c,v 1.51 2007/05/11 11:51:34 fabiankeil Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.52 2007/07/14 07:28:47 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
*
* Revisions :
* $Log: errlog.c,v $
+ * Revision 1.52 2007/07/14 07:28:47 fabiankeil
+ * Add translation function for JB_ERR_FOO codes.
+ *
* Revision 1.51 2007/05/11 11:51:34 fabiankeil
* Fix a type mismatch warning.
*
#endif
#ifdef FEATURE_PTHREAD
-static inline void lock_logfile()
+static inline void lock_logfile(void)
{
pthread_mutex_lock(&log_mutex);
}
-static inline void unlock_logfile()
+static inline void unlock_logfile(void)
{
pthread_mutex_unlock(&log_mutex);
}
-static inline void lock_loginit()
+static inline void lock_loginit(void)
{
pthread_mutex_lock(&log_init_mutex);
}
-static inline void unlock_loginit()
+static inline void unlock_loginit(void)
{
pthread_mutex_unlock(&log_init_mutex);
}
* Returns : thread_id
*
*********************************************************************/
-long get_thread_id(void)
+static long get_thread_id(void)
{
long this_thread = 1; /* was: pthread_t this_thread;*/
* Returns : Log level string.
*
*********************************************************************/
-inline const char *get_log_level_string(int loglevel)
+static inline const char *get_log_level_string(int loglevel)
{
char *log_level_string = NULL;