Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/PROUG/LIKE

Name: Anonymous 2009-05-06 2:50

/PROG/ has decided to worktogether to make a telnet based multiplayerp

Name: Anonymous 2009-05-09 12:43

commit c50f8d266cf4757758c952f8fcc721f6a88208c8
tree f03eaf59cfaa8a62ca9d5ecc6f71b7bbc46bebb6
parent 246007a0e71a4d04ea7304c76485ccf45195f63d
author Anonymous <anonymous@world4ch.org>; 1241886665 +0200
committer Anonymous <anonymous@world4ch.org>; 1241886665 +0200

    Correct two small errors to make the code compile.

diff --git a/test.c b/test.c
index 533104c..5c465dc 100644
--- a/test.c
+++ b/test.c
@@ -38,6 +38,7 @@
 #include <errno.h>
 #include <getopt.h>
 #include <curses.h>
+#include <stdlib.h>
 
 static void
 curses_cleanup()
@@ -64,7 +65,7 @@ int
 main(int argc, char* argv[])
 {
     for (;;) {
-        static const struct long_options[] = {
+        static const struct option long_options[] = {
             { "help", 0, NULL, 'h' },
             { "version", 0, NULL, 'v' },
             { 0, 0, 0, 0 }

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List