aboutsummaryrefslogtreecommitdiff
path: root/c/pl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/pl.cpp')
-rw-r--r--c/pl.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/c/pl.cpp b/c/pl.cpp
index dd69517..7c86d0d 100644
--- a/c/pl.cpp
+++ b/c/pl.cpp
@@ -7,8 +7,7 @@ static int Plpv(term_t, const char *, va_list);
static int Plgv(term_t, const char *, va_list);
/* Call Prolog predicate once. */
-int
-Pl(const char *szMod, const char *szPred, const char *szFmt, ...)
+int Pl(const char *szMod, const char *szPred, const char *szFmt, ...)
{
int iArity;
term_t t;
@@ -35,8 +34,7 @@ f: va_end(vl);
}
/* Put known values in term. */
-int
-Plp(term_t t, const char *szFmt, ...)
+int Plp(term_t t, const char *szFmt, ...)
{
int r;
va_list vl;
@@ -45,8 +43,7 @@ Plp(term_t t, const char *szFmt, ...)
va_end(vl);
return r;
}
-int
-Plpv(term_t t, const char *szFmt, va_list vl)
+int Plpv(term_t t, const char *szFmt, va_list vl)
{
int i;
for (i = 0; szFmt[i]; i++) {
@@ -89,8 +86,7 @@ Plpv(term_t t, const char *szFmt, va_list vl)
}
/* Get unknown values from term. */
-int
-Plg(term_t t, const char *szFmt, ...)
+int Plg(term_t t, const char *szFmt, ...)
{
int r;
va_list vl;
@@ -99,8 +95,7 @@ Plg(term_t t, const char *szFmt, ...)
va_end(vl);
return r;
}
-int
-Plgv(term_t t, const char *szFmt, va_list vl)
+int Plgv(term_t t, const char *szFmt, va_list vl)
{
int i;
for (i = 0; szFmt[i]; i++) {