mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
26 lines
943 B
Plaintext
26 lines
943 B
Plaintext
$NetBSD: patch-ae,v 1.4 2012/12/25 21:14:17 joerg Exp $
|
|
|
|
--- src/fasthenry/contact.c.orig 2004-08-03 22:17:10.000000000 +0000
|
|
+++ src/fasthenry/contact.c
|
|
@@ -45,7 +45,7 @@ operation of Software or Licensed Progra
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
-#include <malloc.h>
|
|
+#include <stdlib.h>
|
|
#include <math.h>
|
|
#include "induct.h"
|
|
|
|
@@ -1130,10 +1130,7 @@ contact_equiv_rect(contactp, gp, relx, r
|
|
/* equiv all the nodes together on the exterior of the given rectangle */
|
|
/* picks the closest node outside the rect along the perimeter. */
|
|
/* We will assume the elements on the interior don't matter */
|
|
-make_equiv_rect(x0, y0, z0, x_width, y_width, gp, name)
|
|
- double x0, y0, z0, x_width, y_width;
|
|
- Nonuni_gp *gp;
|
|
- char *name; /* node name */
|
|
+void make_equiv_rect(double x0, double y0, double z0, double x_width, double y_width, Nonuni_gp *gp, char *name)
|
|
{
|
|
double xl, xr, yb, yt;
|
|
Gcell *cell;
|