Skip to content
Snippets Groups Projects
  • Ben Warren's avatar
    d7fb9bcf
    Fix compile warnings for const correctness · d7fb9bcf
    Ben Warren authored
    
    Commit 6e37b1a3a25004d3df5867de49fff6b3fc9c4f04 modifies several net calls
    to take a (const char *) parameter instead of (char *), but in some cases
    the modified functions call other functions taking (char *).  The end result
    is warnings about discarding the const qualifier.
    
    This patch fixes these other function signatures.
    
    Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
    d7fb9bcf
    History
    Fix compile warnings for const correctness
    Ben Warren authored
    
    Commit 6e37b1a3a25004d3df5867de49fff6b3fc9c4f04 modifies several net calls
    to take a (const char *) parameter instead of (char *), but in some cases
    the modified functions call other functions taking (char *).  The end result
    is warnings about discarding the const qualifier.
    
    This patch fixes these other function signatures.
    
    Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
eth.c 11.11 KiB