Commit 41d75205 authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Marko Mikulicic

Suppress a TI compiler warning

PUBLISHED_FROM=63810a48861c6e2b3e3eb8bab981927f6f85dd40
parent 0f236183
......@@ -10801,9 +10801,12 @@ int sl_fs_init() {
int ret = 1;
#ifdef __TI_COMPILER_VERSION__
#ifdef MG_FS_SLFS
#pragma diag_push
#pragma diag_suppress 169 /* Nothing we can do about the prototype mismatch. */
ret = (add_device("SL", _MSA, fs_slfs_open, fs_slfs_close, fs_slfs_read,
fs_slfs_write, fs_slfs_lseek, fs_slfs_unlink,
fs_slfs_rename) == 0);
#pragma diag_pop
#endif
#endif
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment