]> git.ozlabs.org Git - ccan/blobdiff - ccan/alignof/_info
coroutine: Move total initialization outside coroutine
[ccan] / ccan / alignof / _info
index 85cf810c9564eda924d67b61d890e52fe985390c..ee2b7ad0f28057a73c464b5f59b25c3eb78b3073 100644 (file)
@@ -1,6 +1,6 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * alignof - ALIGNOF() macro to determine alignment of a type.
@@ -21,7 +21,7 @@
  *
  *     // Output contains "ALIGNOF(char) == 1"
  *     // Will also print out whether an onstack char array can hold a long.
- *     int main(int argc, char *argv[])
+ *     int main(void)
  *     {
  *             char arr[sizeof(int)];
  *
@@ -44,7 +44,6 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
-               printf("ccan/build_assert\n");
                return 0;
        }