Print this page
zpool import is braindead

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright (c) 2012 by Delphix. All rights reserved.
+# Copyright 2014 RackTop Systems.
 #
 
 LIBRARY= libzfs.a
 VERS= .1
 

@@ -72,12 +73,10 @@
         -ladm -lidmap -ltsol -lmd -lumem -lzfs_core
 CPPFLAGS +=     $(INCS) -D_LARGEFILE64_SOURCE=1 -D_REENTRANT
 
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-parentheses
-CERRWARN +=     -_gcc=-Wno-uninitialized
-CERRWARN +=     -_gcc=-Wno-unused-function
 
 SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        \
         $(OBJS_SHARED:%.o=$(SRC)/common/zfs/%.c)
 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)