X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/462fca95471224f85b85be911e72faee16cd1597..b4bb83fd34ab5386afa1b8af8e0956ff7953d0e0:/trek/getpar.c diff --git a/trek/getpar.c b/trek/getpar.c index e032e4d8..77bfa360 100644 --- a/trek/getpar.c +++ b/trek/getpar.c @@ -1,6 +1,8 @@ +/* $NetBSD: getpar.c,v 1.4 1995/04/24 12:25:57 cgd Exp $ */ + /* - * Copyright (c) 1980 Regents of the University of California. - * All rights reserved. + * Copyright (c) 1980, 1993 + * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,8 +34,11 @@ */ #ifndef lint -/*static char sccsid[] = "from: @(#)getpar.c 4.8 (Berkeley) 6/1/90";*/ -static char rcsid[] = "$Id: getpar.c,v 1.2 1993/08/01 18:50:28 mycroft Exp $"; +#if 0 +static char sccsid[] = "@(#)getpar.c 8.1 (Berkeley) 5/31/93"; +#else +static char rcsid[] = "$NetBSD: getpar.c,v 1.4 1995/04/24 12:25:57 cgd Exp $"; +#endif #endif /* not lint */ # include @@ -104,7 +109,7 @@ char *s; struct cvntab *r; r = getcodpar(s, Yntab); - return ((int) r->value); + return ((long) r->value); }