Changeset 3d709f808bde28c1c85cb21e2228ccf3f9a9226b

Show
Ignore:
Timestamp:
06/22/08 17:06:28 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1214154388 +0000
git-parent:

[4341a9e214fe728d919aff0399b82d39566ef844]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1214154388 +0000
Message:

cleanup warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/eventer/eventer_ports_impl.c

    r4c963d7 r3d709f8  
    347347  } 
    348348  /* NOTREACHED */ 
    349   return 0; 
    350349} 
    351350 
  • src/noit_console.c

    r4341a9e r3d709f8  
    124124    ncct->outbuf_allocd = lenwanted; 
    125125  } 
    126   return -1; 
     126  /* NOTREACHED */ 
    127127} 
    128128int 
  • src/noit_console_telnet.c

    rc4546c7 r3d709f8  
    16881688    /* split it up */ 
    16891689    for(i=0; i<len; i+=sizeof(ncct->telnet->_pty_buf)) { 
    1690       pty_write(ncct, buf + i, MIN(sizeof(ncct->telnet->_pty_buf),len-i)); 
     1690      pty_write(ncct, (unsigned char *)buf + i, 
     1691                MIN(sizeof(ncct->telnet->_pty_buf),len-i)); 
    16911692    } 
    16921693  } 
  • src/utils/Makefile.in

    rc4546c7 r3d709f8  
    2222 
    2323noit_atomic_sol_x86_32.o:       noit_atomic_sol.s 
    24         as -P -o $@ noit_atomic_sol.s 
     24        @as -P -o $@ noit_atomic_sol.s 
     25        @echo "- assembling $@" 
    2526 
    2627noit_atomic_sol_x86_64.o:       noit_atomic_sol.s 
    27         as -P -xarch=generic64 -o $@ noit_atomic_sol.s 
     28        @as -P -xarch=generic64 -o $@ noit_atomic_sol.s 
     29        @echo "- assembling $@" 
    2830 
    2931.c.o: 
  • src/utils/noit_skiplist.c

    r3277121 r3d709f8  
    1616*/ 
    1717 
     18#include "noit_defines.h" 
     19#include "noit_skiplist.h" 
     20 
    1821#include <stdio.h> 
    1922#include <stdlib.h> 
    2023#include <string.h> 
     24#include <assert.h> 
    2125#ifdef HAVE_ALLOCA_H 
    2226#include <alloca.h> 
    2327#endif 
    24 #include <assert.h> 
    25  
    26 #include "noit_skiplist.h" 
    2728 
    2829#ifndef MIN