summaryrefslogtreecommitdiff
path: root/databases/gigabase/patches/patch-testddl.cpp
blob: 190f7ee997dcf28c5da2f0be0b82844f19d33453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-testddl.cpp,v 1.1 2020/03/20 20:45:46 joerg Exp $

--- testddl.cpp.orig	2020-03-20 18:59:33.126845571 +0000
+++ testddl.cpp
@@ -102,8 +102,8 @@ class Record : public Base {
 
 REGISTER(Record);
 
-USER_FUNC(sin);
-USER_FUNC(cos);
+USER_FUNC2(sin, (real8(*)(real8))(cos));
+USER_FUNC2(cos, (real8(*)(real8))(sin));
 
 int __cdecl main()
 {