+/* $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
*/
#ifndef lint
-static char sccsid[] = "@(#)getpar.c 4.8 (Berkeley) 6/1/90";
+#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 <stdio.h>
struct cvntab *r;
r = getcodpar(s, Yntab);
- return ((int) r->value);
+ return ((long) r->value);
}