Print this page
6771 end-of-loop code not reached in common/dnssd_clientstub.c

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libdns_sd/Makefile.com
          +++ new/usr/src/lib/libdns_sd/Makefile.com
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  # Copyright 2016 Toomas Soome <tsoome@me.com>
       24 +# Copyright 2016 Gary Mills
  24   25  #
  25   26  
  26   27  LIBRARY =       libdns_sd.a
  27   28  VERS =          .1
  28   29  OBJECTS =       dnssd_clientlib.o dnssd_clientstub.o dnssd_ipc.o
  29   30  
  30   31  include ../../Makefile.lib
  31   32  
  32   33  LIBS =          $(DYNLIB) $(LINTLIB)
  33   34  $(LINTLIB):=    SRCS = $(SRCDIR)/$(LINTSRC)
  34   35  
  35   36  SRCDIR =        ../common
  36   37  
  37   38  LDLIBS +=       -lsocket -lnsl -lc
  38   39  
  39   40  C99MODE =       $(C99_ENABLE)
  40   41  CPPFLAGS +=     -I$(SRCDIR) -DNOT_HAVE_SA_LEN -D_XPG4_2 -D__EXTENSIONS__
  41   42  
       43 +# Avoid end-of-loop code not reached cc warning
       44 +pics/dnssd_clientstub.o := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
       45 +
  42   46  .PARALLEL =     $(OBJECTS)
  43   47  .KEEP_STATE:
  44   48  
  45   49  lint: lintcheck
  46   50  
  47   51  all: $(LIBS)
  48   52  
  49   53  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX