list_req.c, ss_internal.h: Clean up -Wall flames
authorTheodore Tso <tytso@mit.edu>
Fri, 9 Jun 1995 03:23:36 +0000 (03:23 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 9 Jun 1995 03:23:36 +0000 (03:23 +0000)
configure.in: Don't install the internal ss include files.

Makefile.in (install): Don't install in this directory.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5990 dc483132-0cff-0310-8789-dd5450dbe970

src/util/ss/ChangeLog
src/util/ss/Makefile.in
src/util/ss/configure.in
src/util/ss/list_rqs.c
src/util/ss/ss_internal.h

index e28865871816ef0ab88f6ec748fad11c90ab5a9c..335018e8d902682e5fdb90e814045bf328554c69 100644 (file)
@@ -1,9 +1,19 @@
+Thu Jun  8 23:22:07 1995    <tytso@rsx-11.mit.edu>
+
+       * list_req.c, ss_internal.h: Clean up -Wall flames.
+
+       * configure.in: Don't install the internal ss include files.
+
 Thu Jun  8 22:54:16 1995  Theodore Y. Ts'o  <tytso@dcl>
 
        * mk_cmds.c (main): Change mk_cmds so that the output file is
                always created in the current directory, instead of in the
                directory where the source file is located.
 
+Thu Jun  8 11:27:47 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>
+
+       * Makefile.in (install): Don't install in this directory.
+
 Thu Apr 27 12:26:26 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
 
        * pager.c: Use posix signals.
index d43df844f5f4efafcc4c315d682e1a1bf32fdc2d..f26a9b4b88e6fc3fb3b360341300579569ad215d 100644 (file)
@@ -46,7 +46,8 @@ MKCMDSFILES=  mk_cmds.c utils.c options.c ct.y cmd_tbl.lex.l
 MKCMDSCSRCS=   mk_cmds.c utils.c options.c ct.tab.c cmd_tbl.lex.c
 
 
-HFILES=        ss.h ss_internal.h copyright.h
+HFILES=        ss.h mit-sipb-copyright.h
+BUILT_HFILES = ss_err.h
 
 # for 'tags' and dependencies
 
@@ -72,22 +73,25 @@ unixmac:: includes
 
 dist:  archives
 
-install:: libss.a
-       $(INSTALLLIB) libss.a ${DESTDIR}$(LIBDIR)/libss.a
-       $(RANLIB) ${DESTDIR}$(LIBDIR)/libss.a
-       @rm -rf ${DESTDIR}$(INCLDIR)/ss
-       @mkdir ${DESTDIR}$(INCLDIR)/ss
+install::
+
+#install:: libss.a
+#      $(INSTALLLIB) libss.a ${DESTDIR}$(LIBDIR)/libss.a
+#      $(RANLIB) ${DESTDIR}$(LIBDIR)/libss.a
+#      @rm -rf ${DESTDIR}$(INCLDIR)/ss
+#      @mkdir ${DESTDIR}$(INCLDIR)/ss
 
 
 includes:: mk_cmds ss_err.h
 
-install:: $(HFILES) copyright.h
-       for i in $(HFILES) copyright.h; do \
-               $(INSTALLFILE) $(srcdir)/$$i ${DESTDIR}$(INCLDIR)/ss/$$i; \
-       done
+#install:: $(HFILES) copyright.h
+#      for i in $(HFILES) copyright.h; do \
+#              $(INSTALLFILE) $(srcdir)/$$i ${DESTDIR}$(INCLDIR)/ss/$$i; \
+#      done
 
-install:: copyright.h
-       $(INSTALLFILE) $(srcdir)/copyright.h ${DESTDIR}$(INCLDIR)/ss/mit-sipb-copyright.h
+#install:: copyright.h
+#      $(INSTALLFILE) $(srcdir)/copyright.h ${DESTDIR}$(INCLDIR)/ss/mit-sipb-copyright.h
+#
 
 std_rqs.c: std_rqs.ct
 
index bc755141b3d3bddaadf8209a6703a444ff0c2ce8..4c020419e1a583bce10dc67e328fc6c0198d72c7 100644 (file)
@@ -21,7 +21,5 @@ AC_RETSIGTYPE
 AC_CHECK_HEADERS(stdarg.h)
 CopySrcHeader(ss.h,$(BUILDTOP)/include/ss)
 CopySrcHeader(mit-sipb-copyright.h,$(BUILDTOP)/include/ss)
-CopySrcHeader(copyright.h,$(BUILDTOP)/include/ss)
 CopyHeader(ss_err.h,$(BUILDTOP)/include/ss)
-CopySrcHeader(ss_internal.h,$(BUILDTOP)/include/ss)
 V5_AC_OUTPUT_MAKEFILE
index dab17a2a250dc4a7668e782e3d2fd6340c037631..460da3a5b56533a63b3eeb7838e3f5b4737f632f 100644 (file)
@@ -33,11 +33,11 @@ ss_list_requests(argc, argv, sci_idx, info_ptr)
     char buffer[BUFSIZ];
     FILE *output;
     int fd;
-    int mask;
 #ifdef POSIX_SIGNALS
     struct sigaction nsig, osig;
     sigset_t nmask, omask;
 #else
+    int mask;
     RETSIGTYPE (*func)();
 #endif
 #ifndef WAIT_USES_INT
index 4b9ea23c35e06fc87b4acf251cb71d4663a429b6..47c194b8ebce50847e35542402cc77e8d9c32fa5 100644 (file)
@@ -8,6 +8,8 @@
 #define _ss_ss_internal_h __FILE__
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
+#include <stdlib.h>
 
 #ifdef __STDC__