diff options
Diffstat (limited to 'util/include/platforms/os400')
-rw-r--r-- | util/include/platforms/os400/axutil_os400.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/include/platforms/os400/axutil_os400.h b/util/include/platforms/os400/axutil_os400.h index e9ca465..1b6477f 100644 --- a/util/include/platforms/os400/axutil_os400.h +++ b/util/include/platforms/os400/axutil_os400.h @@ -140,7 +140,7 @@ extern char AXIS2_PLATFORM_XML_ENTITY_REFERENCE_CHARS_S[]; #define AXIS2_STRRCHR(x, y) (strrchr(x, y))
-#define AXIS2_PLATFORM_SLEEP(x) sleep(0);
+#define AXIS2_PLATFORM_SLEEP(x) sleep(0)
/** sleep function abstraction */
#define AXIS2_SLEEP sleep
@@ -249,7 +249,7 @@ static int os400_ftime(struct os400_timeb * tp) #define AXIS2_INADDR_NONE (in_addr_t)-1
#define axis2_unsigned_short_t uint16_t
#define AXIS2_CLOSE_SOCKET(sock) close(sock)
-#define AXIS2_CLOSE_SOCKET_ON_EXIT(sock) fcntl(sock,F_SETFD, FD_CLOEXEC);
+#define AXIS2_CLOSE_SOCKET_ON_EXIT(sock) fcntl(sock,F_SETFD, FD_CLOEXEC)
#define axis2_socket_len_t socklen_t
#define AXIS2_SHUT_WR SHUT_WR
@@ -258,7 +258,7 @@ static int os400_ftime(struct os400_timeb * tp) /** minizip functions */
#define axis2_fill_win32_filefunc(ffunc)
-#define AXIS2_UNZOPEN2(zipfilename,ffunc) unzOpen2(zipfilename,NULL); memset(&ffunc, 0, sizeof(ffunc));
+#define AXIS2_UNZOPEN2(zipfilename,ffunc) do { unzOpen2(zipfilename,NULL); memset(&ffunc, 0, sizeof(ffunc)); } while (0)
/**
* handling variable number of arguments (for log.c)
|