/* -*-C-*-
-$Id: avltree.c,v 1.2 1996/10/02 18:56:52 cph Exp $
+$Id: avltree.c,v 1.3 1997/01/02 05:21:28 cph Exp $
-Copyright (c) 1993-96 Massachusetts Institute of Technology
+Copyright (c) 1993-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
return (rebalance_rite (tree));
}
}
+ /*NOTREACHED*/
+ return (0);
}
tree_node
/* -*-C-*-
-$Id: bchdrn.h,v 1.7 1995/03/21 22:12:41 cph Exp $
+$Id: bchdrn.h,v 1.8 1997/01/02 05:21:28 cph Exp $
-Copyright (c) 1991-95 Massachusetts Institute of Technology
+Copyright (c) 1991-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#else
#ifndef DOS386
#ifndef _OS2
+#ifndef WINNT
extern int EXFUN (read, (int, PTR, unsigned int));
extern int EXFUN (write, (int, PTR, unsigned int));
#endif
#endif
#endif
+#endif
#if defined(HAVE_POSIX_SIGNALS) && defined(HAVE_BSD_SIGNALS)
# define RE_INSTALL_HANDLER(signum,handler) do { } while (0)
/* -*-C-*-
-$Id: bchpur.c,v 9.65 1994/01/30 03:32:04 gjr Exp $
+$Id: bchpur.c,v 9.66 1997/01/02 05:21:29 cph Exp $
-Copyright (c) 1987-1994 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
Pushed ();
PRIMITIVE_ABORT (PRIM_APPLY);
/*NOTREACHED*/
+ return (0);
}
/* -*-C-*-
-$Id: bignum.c,v 9.42 1996/10/02 18:56:56 cph Exp $
+$Id: bignum.c,v 9.43 1997/01/02 05:21:30 cph Exp $
-Copyright (c) 1989-96 Massachusetts Institute of Technology
+Copyright (c) 1989-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
q_negative_p, 0);
return (quotient);
}
+ default:
+ /*NOTREACHED*/
+ return (0);
}
}
}
0, (BIGNUM_NEGATIVE_P (numerator)));
return (remainder);
}
+ default:
+ /*NOTREACHED*/
+ return (0);
}
}
\f
/* -*-C-*-
-$Id: bintopsb.c,v 9.65 1994/01/12 00:30:20 gjr Exp $
+$Id: bintopsb.c,v 9.66 1997/01/02 05:23:15 cph Exp $
-Copyright (c) 1987-1994 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
fprintf (stderr, "%s: Bignum exceeds representable length.\n",
program_name);
quit (1);
- /* NOTREACHED */
+ /*NOTREACHED*/
+ return (0);
}
\f
static void
"%s: Input is not a Scheme binary file.\n",
program_name);
quit (1);
- /* NOTREACHED */
+ /*NOTREACHED*/
}
if ( (Version > FASL_FORMAT_VERSION)
/* -*-C-*-
-$Id: bitstr.c,v 9.59 1996/10/02 21:16:23 cph Exp $
+$Id: bitstr.c,v 9.60 1997/01/02 05:21:31 cph Exp $
-Copyright (c) 1987-96 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
(bignum, (1L << CHAR_BIT), btbs_consumer, (&result_ptr));
return (result);
}
+ default:
+ /*NOTREACHED*/
+ return (0);
}
}
if (BIGNUM_P (object))
PRIMITIVE_RETURN (bignum_to_bit_string (length, object));
error_wrong_type_arg (2);
- /* NOTREACHED */
+ /*NOTREACHED*/
+ return (0);
}
/* */
/* -*-C-*-
-$Id: comutl.c,v 1.29 1993/10/30 03:04:19 gjr Exp $
+$Id: comutl.c,v 1.30 1997/01/02 05:21:33 cph Exp $
-Copyright (c) 1987-1993 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
default:
error_bad_range_arg (2);
/*NOTREACHED*/
+ return (0);
}
}
/* -*-C-*-
-$Id: extern.c,v 9.35 1996/10/02 18:57:24 cph Exp $
+$Id: extern.c,v 9.36 1997/01/02 05:21:33 cph Exp $
-Copyright (c) 1987-96 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
default:
error_bad_range_arg (1);
}
- /* NOTREACHED */
+ /*NOTREACHED*/
+ return (0);
}
DEFINE_PRIMITIVE ("MAP-MACHINE-ADDRESS-TO-CODE", Prim_map_address_to_code, 2, 2,
default:
error_bad_range_arg (1);
}
- /* NOTREACHED */
+ /*NOTREACHED*/
+ return (0);
}
\f
DEFINE_PRIMITIVE ("PRIMITIVE-PROCEDURE-ARITY", Prim_primitive_procedure_arity, 1, 1,
/* -*-C-*-
-$Id: fasdump.c,v 9.61 1996/10/02 18:57:28 cph Exp $
+$Id: fasdump.c,v 9.62 1997/01/02 05:21:34 cph Exp $
-Copyright (c) 1987-96 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
{
signal_error_from_primitive (ERR_IO_ERROR);
/*NOTREACHED*/
+ return (0);
}
if (code == PRIM_DONE)
return (SHARP_T);
{
signal_error_from_primitive (code);
/*NOTREACHED*/
+ return (0);
}
}
\f
/* -*-C-*-
-$Id: findprim.c,v 9.50 1996/10/02 18:57:35 cph Exp $
+$Id: findprim.c,v 9.51 1997/01/02 05:21:35 cph Exp $
-Copyright (c) 1987-96 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
/* The 4.2 bsd vax compiler has a bug which forces the following. */
#define pseudo_void int
+#define pseudo_return return (0)
extern void EXFUN (exit, (int));
COPY_FILE_NAME ((* data_buffer) [buffer_index]);
(result_buffer [buffer_index]) = (& ((* data_buffer) [buffer_index]));
buffer_index += 1;
- return;
+ pseudo_return;
}
pseudo_void
COPY_FILE_NAME ((* data_buffer) [buffer_index]);
(result_buffer [buffer_index]) = (& ((* data_buffer) [buffer_index]));
buffer_index += 1;
- return;
+ pseudo_return;
}
pseudo_void
}
((* data_buffer) [index]) = desc;
(result_buffer [index]) = (& ((* data_buffer) [index]));
- return;
+ pseudo_return;
}
int
/* -*-C-*-
-$Id: hooks.c,v 9.55 1996/10/02 19:17:34 cph Exp $
+$Id: hooks.c,v 9.56 1997/01/02 05:21:37 cph Exp $
-Copyright (c) 1988-96 Massachusetts Institute of Technology
+Copyright (c) 1988-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
PRIMITIVE_ABORT (PRIM_APPLY);
/*NOTREACHED*/
+ return (0);
}
\f
/* CALL-WITH-CURRENT-CONTINUATION
Store_Expression (FAST_MEMORY_REF (thunk, THUNK_PROCEDURE));
PRIMITIVE_ABORT (PRIM_DO_EXPRESSION);
/*NOTREACHED*/
+ return (0);
}
}
}
Pushed ();
PRIMITIVE_ABORT (PRIM_APPLY);
/*NOTREACHED*/
+ return (0);
}
}
\f
SET_INTERRUPT_MASK (new_mask);
PRIMITIVE_ABORT (PRIM_APPLY);
/*NOTREACHED*/
+ return (0);
}
}
/* -*-C-*-
-$Id: lookprm.c,v 1.9 1993/06/24 07:08:56 gjr Exp $
+$Id: lookprm.c,v 1.10 1997/01/02 05:21:38 cph Exp $
-Copyright (c) 1988-1992 Massachusetts Institute of Technology
+Copyright (c) 1988-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
signal_error_from_primitive(Result);
}
/*NOTREACHED*/
+ return (0);
}
\f
SCHEME_OBJECT
MEMORY_STORE (cell[0], MAKE_POINTER_OBJECT (TC_REFERENCE_TRAP, trap));
PRIMITIVE_RETURN(SHARP_T);
}
+ /*NOTREACHED*/
+ return (0);
}
/* -*-C-*-
-$Id: ntio.c,v 1.13 1997/01/01 22:57:27 cph Exp $
+$Id: ntio.c,v 1.14 1997/01/02 05:21:38 cph Exp $
Copyright (c) 1992-97 Massachusetts Institute of Technology
return (nbytes);
}
if (IsConsoleHandle (fd))
- return (nt_console_write (buffer, nbytes));
+ return (nt_console_write (((void *) buffer), nbytes));
if (WriteFile (fd, buffer, nbytes, &bytesWritten, 0))
return (bytesWritten);
else
/* -*-C-*-
-$Id: ntsys.c,v 1.6 1996/10/02 18:58:21 cph Exp $
+$Id: ntsys.c,v 1.7 1997/01/02 05:21:39 cph Exp $
-Copyright (c) 1992-96 Massachusetts Institute of Technology
+Copyright (c) 1992-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
BOOL
nt_pathname_as_filename (char * name, char * buffer)
{ /* Returns whether directory encountered is top level */
- unsigned int end_index = ((strlen (name)) - 1);
+ int end_index = ((strlen (name)) - 1);
/* The runtime system comes down with a name that has a back slash
at the end. This will choke DOS.
/* -*-C-*-
-$Id: nttrap.c,v 1.11 1995/10/24 05:07:05 cph Exp $
+$Id: nttrap.c,v 1.12 1997/01/02 05:21:40 cph Exp $
-Copyright (c) 1992-95 Massachusetts Institute of Technology
+Copyright (c) 1992-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
info->ContextRecord,
MB_OK);
trap_immediate_termination ();
+ /*NOTREACHED*/
+ return (0);
}
else if (code == EXCEPTION_CODE_GUARDED_PAGE_ACCESS)
{
/* -*-C-*-
-$Id: rgxprim.c,v 1.10 1993/06/24 07:09:41 gjr Exp $
+$Id: rgxprim.c,v 1.11 1997/01/02 05:21:41 cph Exp $
-Copyright (c) 1987-91 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
error_bad_range_arg (1); \
else \
error_external_return (); \
+ /*NOTREACHED*/ \
+ return (0); \
} while (0)
\f
DEFINE_PRIMITIVE ("RE-CHAR-SET-ADJOIN!", Prim_re_char_set_adjoin, 2, 2, 0)
error_bad_range_arg (1);
else
error_external_return ();
+ /*NOTREACHED*/
+ return (0);
}
\f
/* (re-match-substring regexp translation syntax-table registers
/* -*-C-*-
-$Id: utils.c,v 9.70 1996/10/02 18:59:03 cph Exp $
+$Id: utils.c,v 9.71 1997/01/02 05:21:41 cph Exp $
-Copyright (c) 1987-96 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
outf_fatal ("\nBad history to restore.\n");
Microcode_Termination (TERM_EXIT);
/*NOTREACHED*/
+ return (0);
}
else
{