aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/http.h2
-rw-r--r--include/ttyio.h2
-rw-r--r--include/util.h4
4 files changed, 11 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 8d0b95844..232d4b3e2 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2001-05-30 Werner Koch <[email protected]>
+
+ * ttyio.h (tty_printf): Add missing parenthesis for non gcc.
+ * http.h: Removed trailing comma to make old ccs happy. Both are
+ by Albert Chin.
+
2001-05-25 Werner Koch <[email protected]>
* ttyio.h (tty_printf): Add printf attribute.
diff --git a/include/http.h b/include/http.h
index c41f719d1..7e79ed2c1 100644
--- a/include/http.h
+++ b/include/http.h
@@ -51,7 +51,7 @@ typedef enum {
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 {
diff --git a/include/ttyio.h b/include/ttyio.h
index 3202a47d8..08ca994c9 100644
--- a/include/ttyio.h
+++ b/include/ttyio.h
@@ -24,7 +24,7 @@ int tty_batchmode( int onoff );
#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 );
diff --git a/include/util.h b/include/util.h
index f89dade7c..d8294f6db 100644
--- a/include/util.h
+++ b/include/util.h
@@ -207,10 +207,12 @@ int strcasecmp( const char *, const char *b);
#define stricmp(a,b) strcasecmp( (a), (b) )
#endif
-/*-- w32reg.c --*/
#ifdef __MINGW32__
+/*-- w32reg.c --*/
char *read_w32_registry_string( const char *root,
const char *dir, const char *name );
+/*-- strgutil.c --*/
+int vasprintf ( char **result, const char *format, va_list args);
#endif
/**** other missing stuff ****/