[1.5] Change the logic in byte_manager.h. Prefer the use of stdint.h when available. Default to compiler specific mecanism otherwise. Remove some c++ comments. Fix signed vs unsigned comparison

This commit is contained in:
Mathieu Malaterre
2012-03-02 16:51:10 +00:00
parent d1a1653f2a
commit dcf78f14f6
12 changed files with 68 additions and 55 deletions

View File

@@ -41,10 +41,10 @@
#define FCGI_stdout stdout
#define FCGI_stderr stderr
#define logstream stderr
#endif //SERVER
#endif /*SERVER */
sessionlist_param_t * gene_sessionlist()
sessionlist_param_t * gene_sessionlist(void)
{
sessionlist_param_t *sessionlist;
@@ -67,9 +67,9 @@ session_param_t * gene_session( sessionlist_param_t *sessionlist)
session->next = NULL;
if( sessionlist->first) // there are one or more entries
if( sessionlist->first) /* there are one or more entries */
sessionlist->last->next = session;
else // first entry
else /* first entry */
sessionlist->first = session;
sessionlist->last = session;