aboutsummaryrefslogtreecommitdiff
path: root/c/pl.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-17 18:10:03 +0200
commit6a2b55588278d9401eb946ec94970bbea1069f58 (patch)
tree27be93e00d9ed91ca164b7c0d8b06e2159aa2228 /c/pl.h
parente1906e8f45b732d83aca0935c59852c7aa64def9 (diff)
downloadEpisodeBrowser-6a2b55588278d9401eb946ec94970bbea1069f58.tar.gz
Prefer f() over f(void).
f(void) is a C-ism that is valid but unnecessary in C++.
Diffstat (limited to 'c/pl.h')
-rw-r--r--c/pl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/c/pl.h b/c/pl.h
index c4694a9..06efe13 100644
--- a/c/pl.h
+++ b/c/pl.h
@@ -10,10 +10,10 @@ int Plx(const char* szMod, const char* szPred);
struct Query
{
Query(module_t ctx, predicate_t p, term_t t0);
- ~Query(void);
- int Cut(void);
- int Close(void);
- int NextSolution(void);
+ ~Query();
+ int Cut();
+ int Close();
+ int NextSolution();
private:
qid_t m_q;
};