]> git.ozlabs.org Git - ccan/blobdiff - ccan/endian/_info
endian: change license to CC0.
[ccan] / ccan / endian / _info
index 400f7745569a2f0ba2c78a26ac410631c93e4c41..753afa7865e37f58b79b2c6c48d7fd9a834c598a 100644 (file)
  *             printf("native:        %08x\n", value);
  *             printf("little-endian: %08x\n", cpu_to_le32(value));
  *             printf("big-endian:    %08x\n", cpu_to_be32(value));
  *             printf("native:        %08x\n", value);
  *             printf("little-endian: %08x\n", cpu_to_le32(value));
  *             printf("big-endian:    %08x\n", cpu_to_be32(value));
- *             printf("byte-reversed: %08x\n", swab_u32(value));
+ *             printf("byte-reversed: %08x\n", bswap_32(value));
  *             exit(0);
  *     }
  *
  *             exit(0);
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: License: CC0 (Public domain)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])