Hi everybody,

I know it's a bit outdated :) compiler, but this happens in the world of
embedded software. I tried to compile Dropbear for SigmaDesigns SoC
chip, and almost succeeded, except one place. The patch for this place is
attached.

-- 
  Alexey "Ktirf" Rusakov
  GNOME Project, ALT Linux Team
  RusHD, Moscow, Russia
  
--- dropbear-0.50/cli-runopts.c	2007-08-22 22:48:02 +0400
+++ dropbear-0.50/cli-runopts.c.fixed	2007-08-22 22:48:10 +0400
@@ -89,6 +89,9 @@ void cli_getopts(int argc, char ** argv)
 #endif
 	char* dummy = NULL; /* Not used for anything real */
 
+	char* recv_window_arg = NULL;
+	char* keepalive_arg = NULL;
+
 	/* see printhelp() for options */
 	cli_opts.progname = argv[0];
 	cli_opts.remotehost = NULL;
@@ -114,8 +117,6 @@ void cli_getopts(int argc, char ** argv)
 	opts.ipv6 = 1;
 	*/
 	opts.recv_window = DEFAULT_RECV_WINDOW;
-	char* recv_window_arg = NULL;
-	char* keepalive_arg = NULL;
 
 	/* Iterate all the arguments */
 	for (i = 1; i < (unsigned int)argc; i++) {

Reply via email to