1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Cleanup up non-prototyped functions (static) and const-correctness in programs

This commit is contained in:
Paul Bakker
2013-06-25 16:37:45 +02:00
parent b6c5d2e1a6
commit 3c5ef71322
12 changed files with 34 additions and 88 deletions

View File

@ -1,7 +1,7 @@
/*
* SSL server demonstration program using fork() for handling multiple clients
*
* Copyright (C) 2006-2011, Brainspark B.V.
* Copyright (C) 2006-2013, Brainspark B.V.
*
* This file is part of PolarSSL (http://www.polarssl.org)
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
@ -82,7 +82,7 @@ int main( int argc, char *argv[] )
#define DEBUG_LEVEL 0
void my_debug( void *ctx, int level, const char *str )
static void my_debug( void *ctx, int level, const char *str )
{
if( level < DEBUG_LEVEL )
{