From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- other/burneye2/tmp/funcptr/fptr.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 other/burneye2/tmp/funcptr/fptr.c (limited to 'other/burneye2/tmp/funcptr/fptr.c') diff --git a/other/burneye2/tmp/funcptr/fptr.c b/other/burneye2/tmp/funcptr/fptr.c new file mode 100644 index 0000000..291656b --- /dev/null +++ b/other/burneye2/tmp/funcptr/fptr.c @@ -0,0 +1,24 @@ + +int m2 (int a); + +typedef int (* fptr)(int); + + +int +main (int argc, char *argv[]) +{ + fptr subfunc; + + + subfunc = m2; + return (subfunc (argc)); +} + + +int +m2 (int a) +{ + return (a << 1); +} + + -- cgit v1.3