X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fo_str.h;h=5313528ed92671ce11c7bcfc9f57145ce786d784;hp=5535123abc6039591ca8e1fdde5c9a0fcdb91fa7;hb=9a555706a3fb8f6622e1049ab510a12f4e1bc6a2;hpb=e6fa67fa9337d498b4383b067da04c6b6e802cd0 diff --git a/crypto/o_str.h b/crypto/o_str.h index 5535123abc..5313528ed9 100644 --- a/crypto/o_str.h +++ b/crypto/o_str.h @@ -1,6 +1,7 @@ /* crypto/o_str.h -*- mode:C; c-file-style: "eay" -*- */ -/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL - * project 2003. +/* + * Written by Richard Levitte (richard@levitte.org) for the OpenSSL project + * 2003. */ /* ==================================================================== * Copyright (c) 2003 The OpenSSL Project. All rights reserved. @@ -10,7 +11,7 @@ * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -57,11 +58,12 @@ */ #ifndef HEADER_O_STR_H -#define HEADER_O_STR_H +# define HEADER_O_STR_H -#include +# include /* to get size_t */ int OPENSSL_strcasecmp(const char *str1, const char *str2); -int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n) +int OPENSSL_strncasecmp(const char *str1, const char *str2, size_t n); +int OPENSSL_memcmp(const void *p1, const void *p2, size_t n); #endif