summaryrefslogtreecommitdiff
path: root/contrib/bison/warshall.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bison/warshall.c')
-rw-r--r--contrib/bison/warshall.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/contrib/bison/warshall.c b/contrib/bison/warshall.c
index 65487cbfb3b6..862f0eabc2a0 100644
--- a/contrib/bison/warshall.c
+++ b/contrib/bison/warshall.c
@@ -15,21 +15,22 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Bison; see the file COPYING. If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include "system.h"
#include "machine.h"
+void RTC PARAMS((unsigned *, int));
+
/* given n by n matrix of bits R, modify its contents
to be the transive closure of what was given. */
-void
-TC(R, n)
-unsigned *R;
-int n;
+static void
+TC (unsigned *R, int n)
{
register int rowsize;
register unsigned mask;
@@ -87,9 +88,7 @@ int n;
and then set all the bits on the diagonal of R. */
void
-RTC(R, n)
-unsigned *R;
-int n;
+RTC (unsigned *R, int n)
{
register int rowsize;
register unsigned mask;