From 24e4341debedf7d762b65a603fb0f79b6e655354 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 9 Jun 1995 03:23:36 +0000 Subject: [PATCH] list_req.c, ss_internal.h: Clean up -Wall flames 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 | 10 ++++++++++ src/util/ss/Makefile.in | 28 ++++++++++++++++------------ src/util/ss/configure.in | 2 -- src/util/ss/list_rqs.c | 2 +- src/util/ss/ss_internal.h | 2 ++ 5 files changed, 29 insertions(+), 15 deletions(-) diff --git a/src/util/ss/ChangeLog b/src/util/ss/ChangeLog index e28865871..335018e8d 100644 --- a/src/util/ss/ChangeLog +++ b/src/util/ss/ChangeLog @@ -1,9 +1,19 @@ +Thu Jun 8 23:22:07 1995 + + * 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 * 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 + + * Makefile.in (install): Don't install in this directory. + Thu Apr 27 12:26:26 1995 Ezra Peisach * pager.c: Use posix signals. diff --git a/src/util/ss/Makefile.in b/src/util/ss/Makefile.in index d43df844f..f26a9b4b8 100644 --- a/src/util/ss/Makefile.in +++ b/src/util/ss/Makefile.in @@ -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 diff --git a/src/util/ss/configure.in b/src/util/ss/configure.in index bc755141b..4c020419e 100644 --- a/src/util/ss/configure.in +++ b/src/util/ss/configure.in @@ -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 diff --git a/src/util/ss/list_rqs.c b/src/util/ss/list_rqs.c index dab17a2a2..460da3a5b 100644 --- a/src/util/ss/list_rqs.c +++ b/src/util/ss/list_rqs.c @@ -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 diff --git a/src/util/ss/ss_internal.h b/src/util/ss/ss_internal.h index 4b9ea23c3..47c194b8e 100644 --- a/src/util/ss/ss_internal.h +++ b/src/util/ss/ss_internal.h @@ -8,6 +8,8 @@ #define _ss_ss_internal_h __FILE__ #include #include +#include +#include #ifdef __STDC__ -- 2.26.2