Compile problems with 1.0.6

gnupg-devel at thewrittenword.com gnupg-devel at thewrittenword.com
Wed May 30 00:18:02 CEST 2001


1. Don't place a comma after the last item in an enum list in
   include/http.h
2. Forgot '(' in function prototype in include/ttyio.h

-- 
albert chin (china at thewrittenword.com)

-- snip snip
--- include/http.h.orig	Tue May 29 13:59:11 2001
+++ include/http.h	Tue May 29 13:59:18 2001
@@ -51,7 +51,7 @@
 
 enum {	/* put flag values into an enum, so that gdb can display them */
     HTTP_FLAG_TRY_PROXY = 1,
-    HTTP_FLAG_NO_SHUTDOWN = 2,
+    HTTP_FLAG_NO_SHUTDOWN = 2
 };
 
 struct http_context {
--- include/ttyio.h.orig	Tue May 29 14:32:28 2001
+++ include/ttyio.h	Tue May 29 14:32:35 2001
@@ -24,7 +24,7 @@
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
  void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
 #else
- void tty_printf  const char *fmt, ... );
+ void tty_printf (const char *fmt, ... );
 #endif
 void tty_print_string( byte *p, size_t n );
 void tty_print_utf8_string( byte *p, size_t n );




More information about the Gnupg-devel mailing list