summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/bits.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-23 08:35:44 +0100
committerTyge Løvset <[email protected]>2023-02-23 08:35:44 +0100
commit4ff4c8d352f76b658214029988eab7ce1d69efe8 (patch)
treeb4344007993fdb6460b7d4ecd3536a7f1e2b91b6 /misc/examples/bits.c
parent95f0b246cedc2d3669575ed2bfb398e6fbcb2b2f (diff)
downloadSTC-modified-4ff4c8d352f76b658214029988eab7ce1d69efe8.tar.gz
STC-modified-4ff4c8d352f76b658214029988eab7ce1d69efe8.zip
Internal updates.
Diffstat (limited to 'misc/examples/bits.c')
-rw-r--r--misc/examples/bits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/bits.c b/misc/examples/bits.c
index 730dd953..6f28c52d 100644
--- a/misc/examples/bits.c
+++ b/misc/examples/bits.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stc/cbits.h>
-int main()
+int main(void)
{
c_with (cbits set = cbits_with_size(23, true), cbits_drop(&set)) {
printf("count %" c_ZI ", %" c_ZI "\n", cbits_count(&set), cbits_size(&set));