aboutsummaryrefslogtreecommitdiffstats
path: root/src/assuan-defs.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2004-11-26 16:18:00 +0000
committerWerner Koch <[email protected]>2004-11-26 16:18:00 +0000
commit86aed4c8947923a8b8155cd7e21176fe2feba216 (patch)
tree04dc6db003b48df48e673448fffb9b79514e20c0 /src/assuan-defs.h
parentPost release preps (diff)
downloadlibassuan-86aed4c8947923a8b8155cd7e21176fe2feba216.tar.gz
libassuan-86aed4c8947923a8b8155cd7e21176fe2feba216.zip
Avoid warnings about unknown pragmas.
Diffstat (limited to 'src/assuan-defs.h')
-rw-r--r--src/assuan-defs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/assuan-defs.h b/src/assuan-defs.h
index 80818e9..48463b3 100644
--- a/src/assuan-defs.h
+++ b/src/assuan-defs.h
@@ -40,7 +40,7 @@
#ifdef _WIN32
#define AF_LOCAL AF_UNIX
-/* we need to prefix the structure with a sockaddr_in header so we can
+/* We need to prefix the structure with a sockaddr_in header so we can
use it later for sendto and recvfrom. */
struct sockaddr_un
{
@@ -50,9 +50,11 @@ struct sockaddr_un
char sun_path[108-2-4]; /* Path name. */
};
-typedef int ssize_t;
+/* Not needed anymore because the current mingw32 defines this in
+ sys/types.h */
+/* typedef int ssize_t; */
-/* missing W32 functions */
+/* Missing W32 functions */
int putc_unlocked (int c, FILE *stream);
void * memrchr (const void *block, int c, size_t size);
char * stpcpy (char *dest, const char *src);