+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * login.c: Remove declaration of errno
+
2003-01-03 Ezra Peisach <epeisach@bu.edu>
* compat_recv.c (accept_a_connection): Test if IPv6 socket returns
char term[64], *username;
#endif
-extern int errno;
+
#ifdef KRB4
#define KRB_ENVIRON "KRBTKFILE" /* Ticket file environment variable */
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * admin_server.c (kadm_listen): Remove declaration of errno
+
+ * acl_files.c: Remove declaration of errno
+
2002-11-26 Tom Yu <tlyu@mit.edu>
* Makefile.in (OBJS): Remove kadm_stream.o and kadm_err.o. Also,
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <ctype.h>
#include <fcntl.h>
#include "krb.h"
#define COR(a,b) ((a!=NULL)?(a):(b))
-extern int errno;
#ifndef HAVE_STDLIB_H
extern char *malloc(), *calloc();
static int
kadm_listen()
{
- extern int errno;
int found;
int admin_fd;
int peer_fd;
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * server_dict.c: Remove declaration of errno
+
+ * adb_policy.c: Remove declaration of errno
+
2002-12-16 Ezra Peisach <epeisach@bu.edu>
* Makefile.in: Change to allow compilation with-system-db and
#include "adb.h"
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
-extern int errno;
#define OPENLOCK(db, mode) \
{ \
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
+#include <errno.h>
#include <kadm5/admin.h>
#include <stdlib.h>
#include <stdio.h>
static char **word_list = NULL; /* list of word pointers */
static char *word_block = NULL; /* actual word data */
static unsigned int word_count = 0; /* number of words */
-extern int errno;
+
/*
* Function: word_compare
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * tf_util.c: Remove declaration of errno
+
+ * dest_tkt.c (dest_tkt): Remove declaration of errno
+
2002-12-18 Tom Yu <tlyu@mit.edu>
* RealmsConfig-glue.c: Fix up KRB5_CALLCONV.
{
const char *file = TKT_FILE;
int i,fd;
- extern int errno;
int ret;
struct stat statpre, statpost;
char buf[BUFSIZ];
#define TF_LCK_RETRY ((unsigned)2) /* seconds to sleep before
* retry if ticket file is
* locked */
-extern int errno;
extern int krb_debug;
void tf_close();
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * syslog.c (vsyslog): Remove declaration of errno
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
#define const
#include <varargs.h>
#endif
+#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/file.h>
const register char *fmt;
va_list ap;
{
- extern int errno;
register int cnt;
register char *p;
time_t now, time();
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * svc_run.c svc_udp.c : Remove declaration of errno
+
+ * clnt_udp.c pmap_getmaps.c pmap_rmt.c svc_auth_gssapi.c: Remove
+ declaration of errno
+
2002-12-18 Ken Raeburn <raeburn@mit.edu>
* auth_gssapi_misc.c (xdr_gss_buf, auth_gssapi_wrap_data,
#include <netdb.h>
#include <errno.h>
#include <gssrpc/pmap_clnt.h>
+#include <errno.h>
-extern int errno;
/*
* UDP bases client side rpc operations
#define NAMELEN 255
#define MAX_BROADCAST_SIZE 1400
-extern int errno;
/*
* Get a copy of the current port maps.
#define MAX_BROADCAST_SIZE 1400
#include <string.h>
-extern int errno;
static struct timeval timeout = { 3, 0 };
*/
#include <stdio.h>
+#include <errno.h>
#include <string.h>
#include <gssrpc/rpc.h>
#include <sys/stat.h>
static client_list *clients = NULL;
-extern int errno;
enum auth_stat _gssrpc_svcauth_gssapi(rqst, msg, no_dispatch)
register struct svc_req *rqst;
* Wait for input, call server program.
*/
#include <gssrpc/rpc.h>
-#include <sys/errno.h>
+#include <errno.h>
void
svc_run()
#else
int readfds;
#endif /* def FD_SETSIZE */
- extern int errno;
for (;;) {
#ifdef FD_SETSIZE
svcudp_destroy
};
-extern int errno;
/*
* kept in xprt->xp_p2
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * t_inetd.c: Remove declaration of errno
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
#include "com_err.h"
-extern int errno;
char *progname;
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * clib/mkstemp.c (_gettemp): Remove declaration of errno
+
2002-09-05 Ken Raeburn <raeburn@mit.edu>
* configure.in: Check for stdint.h and inttypes.h.
char *path;
register int *doopen;
{
- extern int errno;
register char *start, *trv;
struct stat sbuf;
u_int pid;
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * SEQ_TEST/t.c (main): Remove declaration of errno
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
ALL_CFLAGS = $(DEFS) $(DEFINES) $(LOCALINCLUDES) $(CPPFLAGS) $(CFLAGS)
CFLAGS = -g
-CPPFLAGS = -I$(BUILDTOP)/include -I$(SRCTOP)/include -I$(BUILDTOP)/include/krb5 -I$(SRCTOP)/include/krb5 -DKRB5_KRB4_COMPAT -DKRB5_PRIVATE=1
+CPPFLAGS = -I$(BUILDTOP)/include -I$(SRCTOP)/include -I$(BUILDTOP)/include/krb5 -I$(SRCTOP)/include/krb5 -I/usr/athena/include -DKRB5_KRB4_COMPAT -DKRB5_PRIVATE=1
DEFS = -DHAVE_CONFIG_H
CC = /usr/gcc/bin/gcc
LD = $(PURE) /usr/gcc/bin/gcc
DEPLIBS = @DEPLIBS@
-LDFLAGS =
+LDFLAGS = -L/usr/athena/lib
LD_UNRESOLVED_PREFIX = @LD_UNRESOLVED_PREFIX@
LD_SHLIBDIR_PREFIX = @LD_SHLIBDIR_PREFIX@
LDARGS = @LDARGS@
DB_DEPS-k5 = $(BUILDTOP)/include/db.h $(BUILDTOP)/include/db-config.h
DB_DEPS-redirect = $(BUILDTOP)/include/db.h
+# Header file dependencies that might depend on whether krb4 support
+# is compiled.
+
+KRB_ERR_H_DEP = $(BUILDTOP)/include/kerberosIV/krb_err.h
+KRB524_H_DEP = $(BUILDTOP)/include/krb524.h
+KRB524_ERR_H_DEP= $(BUILDTOP)/include/krb524_err.h
+
# LIBS gets substituted in... e.g. -lnsl -lsocket
# GEN_LIB is -lgen if needed for regexp
#include <stdlib.h>
#include <string.h>
-extern int errno;
void main(int argc, char *argv[]) {
char id1[] = {" "}, id2[] = {" "};
+2003-01-05 Sam Hartman <hartmans@mit.edu>
+
+ * pager.c: Remove declaration of errno
+
+ * help.c: Remove declaration of errno
+
2002-12-12 Tom Yu <tlyu@mit.edu>
* Makefile.in (depend-dependencies): Was previously
#include <sys/param.h>
#include <sys/types.h>
+#include <errno.h>
#include <sys/file.h>
#include <fcntl.h> /* just for O_* */
#include <sys/wait.h>
#include "ss_internal.h"
#include "copyright.h"
-extern int errno;
void ss_help (argc, argv, sci_idx, info_ptr)
int argc;
#include "ss_internal.h"
#include "copyright.h"
+#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/file.h>
static char MORE[] = "more";
extern char *_ss_pager_name;
extern char *getenv();
-extern int errno;
/*
* this needs a *lot* of work....