diff --git a/scst/src/scst_proc.c b/scst/src/scst_proc.c index ef59e32e9..580cc974b 100644 --- a/scst/src/scst_proc.c +++ b/scst/src/scst_proc.c @@ -191,6 +191,8 @@ static DECLARE_MUTEX(scst_proc_mutex); #include +#if !defined(CONFIG_PPC) + #if defined(DEBUG) || defined(TRACING) static int strcasecmp(const char *s1, const char *s2) { @@ -213,6 +215,8 @@ static int strncasecmp(const char *s1, const char *s2, int n) return c1 - c2; } +#endif /* CONFIG_PPC */ + int scst_proc_read_tlb(const struct scst_proc_log *tbl, char *buffer, int length, off_t offset, unsigned long log_level, int *first, int *size, int *len, off_t *begin, off_t *pos)