*/
+#include "config.h"
+
#include <string.h>\r
#include <ctype.h>\r
#include <time.h>\r
} else return -1;
}
+#ifndef UCLINUX
+
/*
* like atoi, but of a non-null-terminated string of a specified portion
*/
return( atoi(aux) );
}
+#endif /* UCLINUX */
+
/*
* make hexdump of Message
*/
#ifndef WIN32
+#ifndef UCLINUX
+
#define max_buf_len 128
#define lock_path "/var/lock/LCK.."
}
/* Removes lock and frees memory */
-bool unlock_device(char *lock_file)
+static bool unlock_device(char *lock_file)
{
int err;
free(lock_file);
return (err + 1);
}
+
+#endif /* UCLINUX */
+
#endif /* WIN32 */