aboutsummaryrefslogtreecommitdiff
path: root/c/pl.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-15 00:50:32 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-15 00:50:32 +0200
commit095954fe8c0d1a64d8696d0ad0cd0ed395dd6c54 (patch)
treecc1543954c5208dfa56adfa82853239a6504ba18 /c/pl.cpp
parent0e22414d042207269f916298b236f1be341ddeea (diff)
downloadEpisodeBrowser-095954fe8c0d1a64d8696d0ad0cd0ed395dd6c54.tar.gz
Change declaration style.
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++) {