+#include "config.h"
#include <stdio.h>
#include <string.h>
-#include "config.h"
/**
* typesafe_cb - macros for safe callbacks.
* // Silly game to find the longest chain of values.
* int main(int argc, char *argv[])
* {
- * int i, run = 1, num = argv[1] ? atoi(argv[1]) : 0;
+ * int i, run = 1, num = argc > 1 ? atoi(argv[1]) : 0;
*
* for (i = 1; i < 1024;) {
* // Since run is an int, compiler checks "add" does too.