Print this page
7127  remove -Wno-missing-braces from Makefile.uts

*** 48,73 **** #define _I(x) (((long)(&((nsc_io_t *)0)->x))/sizeof (long)) #define _F(x) (((long)(&((nsc_fd_t *)0)->x))/sizeof (long)) nsc_def_t _nsc_io_def[] = { ! "Open", (uintptr_t)nsc_null, _I(open), ! "Close", (uintptr_t)nsc_null, _I(close), ! "Attach", (uintptr_t)nsc_null, _I(attach), ! "Detach", (uintptr_t)nsc_null, _I(detach), ! "Flush", (uintptr_t)nsc_null, _I(flush), ! "Provide", 0, _I(provide), ! 0, 0, 0 }; nsc_def_t _nsc_fd_def[] = { ! "Pinned", (uintptr_t)nsc_null, _F(sf_pinned), ! "Unpinned", (uintptr_t)nsc_null, _F(sf_unpinned), ! "Attach", (uintptr_t)nsc_null, _F(sf_attach), ! "Detach", (uintptr_t)nsc_null, _F(sf_detach), ! "Flush", (uintptr_t)nsc_null, _F(sf_flush), ! 0, 0, 0 }; kmutex_t _nsc_io_lock; kmutex_t _nsc_devval_lock; --- 48,73 ---- #define _I(x) (((long)(&((nsc_io_t *)0)->x))/sizeof (long)) #define _F(x) (((long)(&((nsc_fd_t *)0)->x))/sizeof (long)) nsc_def_t _nsc_io_def[] = { ! { "Open", (uintptr_t)nsc_null, _I(open) }, ! { "Close", (uintptr_t)nsc_null, _I(close) }, ! { "Attach", (uintptr_t)nsc_null, _I(attach) }, ! { "Detach", (uintptr_t)nsc_null, _I(detach) }, ! { "Flush", (uintptr_t)nsc_null, _I(flush) }, ! { "Provide", (uintptr_t)NULL, _I(provide) }, ! { NULL, (uintptr_t)NULL, 0 } }; nsc_def_t _nsc_fd_def[] = { ! { "Pinned", (uintptr_t)nsc_null, _F(sf_pinned) }, ! { "Unpinned", (uintptr_t)nsc_null, _F(sf_unpinned) }, ! { "Attach", (uintptr_t)nsc_null, _F(sf_attach) }, ! { "Detach", (uintptr_t)nsc_null, _F(sf_detach) }, ! { "Flush", (uintptr_t)nsc_null, _F(sf_flush) }, ! { NULL, (uintptr_t)NULL, 0 } }; kmutex_t _nsc_io_lock; kmutex_t _nsc_devval_lock;