examples/sampleconv.c: indent changes, made callbacks static

This commit is contained in:
Daniel Stenberg 2017-05-31 09:32:04 +02:00
parent 55fcb84859
commit 501b9ebe92
1 changed files with 37 additions and 37 deletions

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___ * | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____| * \___|\___/|_| \_\_____|
* *
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
* *
* This software is licensed as described in the file COPYING, which * This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms * you should have received as part of this distribution. The terms
@ -42,7 +42,7 @@
#include <stdio.h> #include <stdio.h>
#include <curl/curl.h> #include <curl/curl.h>
CURLcode my_conv_from_ascii_to_ebcdic(char *buffer, size_t length) static CURLcode my_conv_from_ascii_to_ebcdic(char *buffer, size_t length)
{ {
char *tempptrin, *tempptrout; char *tempptrin, *tempptrout;
size_t bytes = length; size_t bytes = length;
@ -57,7 +57,7 @@ CURLcode my_conv_from_ascii_to_ebcdic(char *buffer, size_t length)
} }
} }
CURLcode my_conv_from_ebcdic_to_ascii(char *buffer, size_t length) static CURLcode my_conv_from_ebcdic_to_ascii(char *buffer, size_t length)
{ {
char *tempptrin, *tempptrout; char *tempptrin, *tempptrout;
size_t bytes = length; size_t bytes = length;
@ -72,7 +72,7 @@ CURLcode my_conv_from_ebcdic_to_ascii(char *buffer, size_t length)
} }
} }
CURLcode my_conv_from_utf8_to_ebcdic(char *buffer, size_t length) static CURLcode my_conv_from_utf8_to_ebcdic(char *buffer, size_t length)
{ {
char *tempptrin, *tempptrout; char *tempptrin, *tempptrout;
size_t bytes = length; size_t bytes = length;