pkgsrc-wip/erlang/patches/patch-ag
Martti Kuparinen 4d05a286c8 Erlang is a programming language which has many features more commonly
associated with an operating system than with a programming language:
concurrent processes, scheduling, memory management, distribution,
networking, etc.

The initial open-source Erlang release contains the implementation of
Erlang, as well as a large part of Ericsson's middleware for building
distributed high-availability systems.
2008-04-16 06:11:48 +00:00

18 lines
672 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2008/04/16 06:11:50 marttikuparinen Exp $
--- erts/emulator/obsolete/driver.h.orig 2007-11-26 13:55:21.000000000 -0500
+++ erts/emulator/obsolete/driver.h
@@ -67,10 +67,10 @@
# define DRIVER_INIT(DRIVER_NAME) driver_init
#endif
-typedef int (*F_PTR)(); /* a function pointer */
-typedef long (*L_PTR)(); /* pointer to a function returning long */
+typedef int (*F_PTR)(void); /* a function pointer */
+typedef long (*L_PTR)(void); /* pointer to a function returning long */
-extern int null_func();
+extern int null_func(void);
/* This structure MUST match Binary in global.h exactly!!! */
typedef struct driver_binary {