Fix comment style // -> /* */

personal/stbuehler/wip
Stefan Bühler 15 years ago
parent 6dbaaf5430
commit 7a496b610b

@ -225,7 +225,7 @@
#if __GNUC__
#define INLINE static inline
// # define INLINE extern inline
/* # define INLINE extern inline */
#else
# define INLINE static
#endif

@ -12,8 +12,8 @@
#endif /* FD_SETSIZE */
#include <winsock2.h>
#include <ws2tcpip.h>
//#include <wspiapi.h>
//#define HAVE_IPV6 -- not until we've resolved the inet_ntop issue.
/* #include <wspiapi.h> */
/* #define HAVE_IPV6 -- not until we've resolved the inet_ntop issue. */
#define ECONNRESET WSAECONNRESET
#define EINPROGRESS WSAEINPROGRESS

@ -27,7 +27,7 @@ typedef enum {
VRS_WRITE_CONTENT,
/* request done */
// VRS_END,
/* VRS_END, */
VRS_ERROR
} vrequest_state;

@ -20,7 +20,7 @@
access ctx->;
prepush {
//_printf("current stacksize: %d, top: %d\n", ctx->stacksize, ctx->top);
/* _printf("current stacksize: %d, top: %d\n", ctx->stacksize, ctx->top); */
/* increase stacksize if necessary */
if (ctx->stacksize == ctx->top)
{
@ -167,7 +167,7 @@
}
action keyvalue_start {
//fpc--;
/* fpc--; */
_printf("keyvalue start in line %zd\n", ctx->line);
fcall key_value_scanner;
}
@ -189,7 +189,7 @@
/* push list on the stack */
g_queue_push_head(ctx->option_stack, l);
//fpc--;
/* fpc--; */
fret;
}

@ -36,7 +36,7 @@ static void profiler_hashtable_init() {
static guint profiler_hash_addr(gpointer addr) {
guint h = (gsize) addr;
h = (h >> 3) * 2654435761; /* ~ golden ratio of 2^32, shift 3 because of 8 byte boundary alignment (use 2 for 4 byte boundary) */
//printf("hashing addr 0x%zx: %u ([%u])\n", (gsize)addr, h, h % PROFILER_HASHTABLE_SIZE);
/* printf("hashing addr 0x%zx: %u ([%u])\n", (gsize)addr, h, h % PROFILER_HASHTABLE_SIZE); */
return h % PROFILER_HASHTABLE_SIZE;
}

@ -49,7 +49,7 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt)
int ipv6 = af == AF_INET6;
// DebugBreak();
/* DebugBreak(); */
if ( ipv6 )
{

Loading…
Cancel
Save