Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized

*** 18,27 **** --- 18,28 ---- * * CDDL HEADER END */ /* * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2019 Joyent, Inc. */ /* * Copyright (c) 2010, Intel Corporation. * All rights reserved. */
*** 303,315 **** } else { \ mtype = -1; \ } \ } ! extern int mtype_pgr_init(int *, page_t *, int, pgcnt_t); ! #define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \ ! (mtype = mtype_pgr_init(&flags, pp, mnode, pgcnt)) #define MNODE_PGCNT(mnode) mnode_pgcnt(mnode) extern void mnodetype_2_pfn(int, int, pfn_t *, pfn_t *); #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \ --- 304,316 ---- } else { \ mtype = -1; \ } \ } ! extern int mtype_pgr_init(int *, page_t *, pgcnt_t); ! #define MTYPE_PGR_INIT(mtype, flags, pp, pgcnt) \ ! (mtype = mtype_pgr_init(&flags, pp, pgcnt)) #define MNODE_PGCNT(mnode) mnode_pgcnt(mnode) extern void mnodetype_2_pfn(int, int, pfn_t *, pfn_t *); #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \