aboutsummaryrefslogtreecommitdiff
path: root/module/c/cpp.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/c/cpp.scm')
-rw-r--r--module/c/cpp.scm8
1 files changed, 3 insertions, 5 deletions
diff --git a/module/c/cpp.scm b/module/c/cpp.scm
index 3f50fb87..a2935352 100644
--- a/module/c/cpp.scm
+++ b/module/c/cpp.scm
@@ -11,6 +11,7 @@
:use-module (c lex)
:use-module (c parse)
:use-module (c operators)
+ :export (do-funcall replace-symbols include#)
)
@@ -31,7 +32,7 @@
(list header-line) #f)))
-(define-public (do-funcall function arguments)
+(define (do-funcall function arguments)
(if (list? arguments)
(apply function arguments)
(function arguments)))
@@ -45,7 +46,7 @@
(!= . (negate =))
))
-(define-public (replace-symbols tree dict)
+(define (replace-symbols tree dict)
(if (not (list? tree))
(or (assoc-ref dict tree) tree)
(map (lambda (node) (replace-symbols node dict))
@@ -139,6 +140,3 @@
`(begin
,@(map (lambda (pair) `(,define-form ,(car pair) ,(cdr pair)))
(resolve-dependency-graph graph))))
-
-
-(export include#)