Files
mercury/bytecode/machine.c
Fergus Henderson 48103ac54c A cleanup of the bytecode stuff.
Estimated hours taken: 2

A cleanup of the bytecode stuff.

bytecode/*:
	Various changes to make it conform to our C coding standard.
	In particular:
		- fix indentation and layout, particularly of switch
		  statements;
		- use `#include "..."' rather than `#include <...>'
		  for user-defined header files

bytecode/Mmakefile:
	Avoid the use of `$^' in hard-coded rules, since it is
	not portable to non-GNU makes (many makes only allow the
	use of variables such as $*, $^, etc. in suffix rules),
	and since it is easy to avoid.
	Also add an XXX comment, since the header dependency handling
	is done twice.

bytecode/bytecode.c:
	s/BIG_ENDING/MR_BIG_ENDIAN/ and s/LITTLE_ENDING/MR_LITTLE_ENDIAN/,
	to match my recent change to runtime/conf.h.in.
	In fact every identifier in the bytecode directory ought to be
	prefixed with `MB_', but I haven't done that in this change.
1997-04-26 03:16:18 +00:00

25 lines
491 B
C

/*
** Copyright (C) 1997 University of Melbourne.
** This file may only be copied under the terms of the GNU Library General
** Public License - see the file COPYING.LIB in the Mercury distribution.
**
** $Id: machine.c,v 1.4 1997-04-26 03:16:08 fjh Exp $
*/
/* Imports */
#include <stdlib.h>
#include <stdio.h>
#include "machine.h"
/* Exported definitions */
/* Local declarations */
static char
rcs_id[] = "$Id: machine.c,v 1.4 1997-04-26 03:16:08 fjh Exp $";
/* Implementation */