aboutsummaryrefslogtreecommitdiff
path: root/Examples/php5/funcptr/example.c
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/php5/funcptr/example.c')
-rw-r--r--Examples/php5/funcptr/example.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/Examples/php5/funcptr/example.c b/Examples/php5/funcptr/example.c
deleted file mode 100644
index 99583b72e..000000000
--- a/Examples/php5/funcptr/example.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* File : example.c */
-
-int do_op(int a, int b, int (*op)(int,int)) {
- return (*op)(a,b);
-}
-
-int add(int a, int b) {
- return a+b;
-}
-
-int sub(int a, int b) {
- return a-b;
-}
-
-int mul(int a, int b) {
- return a*b;
-}