about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulsetup-add-forward-declarations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulsetup-add-forward-declarations.patch')
-rw-r--r--nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulsetup-add-forward-declarations.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulsetup-add-forward-declarations.patch b/nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulsetup-add-forward-declarations.patch
new file mode 100644
index 000000000000..00eb7e96b5f5
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/fa/fastcap/fastcap-mulsetup-add-forward-declarations.patch
@@ -0,0 +1,19 @@
+Add forward declarations.
+
+--- fastcap/src/mulSetup.c.orig	2015-07-22 13:55:21.592119775 +0200
++++ fastcap/src/mulSetup.c	2015-07-22 14:08:50.157688209 +0200
+@@ -35,6 +35,14 @@
+ 
+ #include "mulGlobal.h"
+ 
++static getnbrs(ssystem*);
++static linkcubes(ssystem*);
++static setMaxq(ssystem*);
++static getAllInter(ssystem*);
++static set_vector_masks(ssystem*);
++static indexkid(ssystem*, cube*, int*, int*);
++static int placeq(int, ssystem*, charge*);
++
+ cube *cstack[1024];		/* Stack used in several routines. */
+ 
+ /*