summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/cbox.h')
-rw-r--r--include/stc/cbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cbox.h b/include/stc/cbox.h
index 86d5a6a6..25d41b92 100644
--- a/include/stc/cbox.h
+++ b/include/stc/cbox.h
@@ -47,7 +47,7 @@ void Person_drop(Person* p) {
#define i_no_cmp // no cmp/hash is defined
#include <stc/cbox.h>
-int main() {
+int main(void) {
c_auto (PBox, p, q)
{
p = PBox_from(Person_from("John Smiths", "[email protected]"));
@@ -205,4 +205,4 @@ STC_INLINE void _cx_MEMB(_assign)(_cx_Self* self, _cx_Self* moved) {
{ return c_default_hash(&self->get); }
#endif
#include "priv/template2.h"
-#undef _i_cbox \ No newline at end of file
+#undef _i_cbox