Release calc version 2.11.0t1

This commit is contained in:
Landon Curt Noll
1999-09-23 21:24:49 -07:00
parent 5307c4e16b
commit bad4535616
24 changed files with 233 additions and 223 deletions

View File

@@ -95,18 +95,6 @@ TOPDIR= /usr/local/lib
LIBDIR= ${TOPDIR}/calc
HELPDIR= ${LIBDIR}/help
# The return value type of main() differs from platform to platform.
# In some cases, a compiler warning is issued because main() does
# or does not return a value.
#
# MAIN= -DMAIN=void main() is of type void
# MAIN= -DMAIN=int main() is of type int
#
# When in doubt, try MAIN= -DMAIN=void. If you get a warning try the other.
#
MAIN= -DMAIN=void
#MAIN= -DMAIN=int
# Normally, the upper level makefile will set these values. We provide
# a default here just in case you want to build from this directory.
#
@@ -251,7 +239,7 @@ CCMISC=
CFLAGS= ${CCWARN} ${CCOPT} ${CCMISC} ${ALLOW_CUSTOM}
ICFLAGS= ${CCWARN} ${CCMISC}
#
CCMAIN= ${ICFLAGS} ${MAIN}
CCMAIN= ${ICFLAGS}
#
LCFLAGS=
LDFLAGS= ${NO_SHARED} ${LD_NO_SHARED}

View File

@@ -59,7 +59,7 @@ typedef struct {
extern char *program; /* our name */
MAIN
int
main(int argc, char **argv)
{
RANDOM *prev_state; /* previous random number state */
@@ -176,5 +176,6 @@ main(int argc, char **argv)
/*
* all done
*/
exit(0);
/* exit(0); */
return 0;
}

View File

@@ -57,7 +57,7 @@ typedef struct {
extern char *program; /* our name */
MAIN
int
main(int argc, char **argv)
{
RANDOM *prev_state; /* previous random number state */
@@ -121,5 +121,6 @@ main(int argc, char **argv)
/*
* all done
*/
exit(0);
/* exit(0); */
return 0;
}