diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-15 00:50:32 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-15 00:50:32 +0200 |
commit | 095954fe8c0d1a64d8696d0ad0cd0ed395dd6c54 (patch) | |
tree | cc1543954c5208dfa56adfa82853239a6504ba18 /c/pl.cpp | |
parent | 0e22414d042207269f916298b236f1be341ddeea (diff) | |
download | EpisodeBrowser-095954fe8c0d1a64d8696d0ad0cd0ed395dd6c54.tar.gz |
Change declaration style.
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -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++) { |