[prev in list] [next in list] [prev in thread] [next in thread]
List: openssl-cvs
Subject: [CVS] OpenSSL: openssl/crypto/asn1/ tasn_new.c openssl/crypto/bio/ bss...
From: "Nils Larsch" <nils () openssl ! org>
Date: 2006-02-15 20:20:24
Message-ID: 20060215202024.DD9841AC64C7 () master ! openssl ! org
[Download RAW message or body]
OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________________________
Server: cvs.openssl.org Name: Nils Larsch
Root: /v/openssl/cvs Email: nils@openssl.org
Module: openssl Date: 15-Feb-2006 21:20:23
Branch: HEAD Handle: 2006021520201604
Modified files:
openssl/crypto/asn1 tasn_new.c
openssl/crypto/bio bss_acpt.c bss_dgram.c
Log:
make some internal functions static; patch supplied by Kurt Roeckx
Summary:
Revision Changes Path
1.16 +2 -2 openssl/crypto/asn1/tasn_new.c
1.16 +4 -4 openssl/crypto/bio/bss_acpt.c
1.3 +2 -2 openssl/crypto/bio/bss_dgram.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openssl/crypto/asn1/tasn_new.c
============================================================================
$ cvs diff -u -r1.15 -r1.16 tasn_new.c
--- openssl/crypto/asn1/tasn_new.c 1 Sep 2005 20:42:49 -0000 1.15
+++ openssl/crypto/asn1/tasn_new.c 15 Feb 2006 20:20:16 -0000 1.16
@@ -68,7 +68,7 @@
int combine);
static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
-void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
+static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
ASN1_VALUE *ASN1_item_new(const ASN1_ITEM *it)
{
@@ -373,7 +373,7 @@
return 0;
}
-void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
+static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it)
{
int utype;
if (it && it->funcs)
@@ .
patch -p0 <<'@@ .'
Index: openssl/crypto/bio/bss_acpt.c
============================================================================
$ cvs diff -u -r1.15 -r1.16 bss_acpt.c
--- openssl/crypto/bio/bss_acpt.c 20 Mar 2003 23:18:10 -0000 1.15
+++ openssl/crypto/bio/bss_acpt.c 15 Feb 2006 20:20:20 -0000 1.16
@@ -100,8 +100,8 @@
static int acpt_free(BIO *data);
static int acpt_state(BIO *b, BIO_ACCEPT *c);
static void acpt_close_socket(BIO *data);
-BIO_ACCEPT *BIO_ACCEPT_new(void );
-void BIO_ACCEPT_free(BIO_ACCEPT *a);
+static BIO_ACCEPT *BIO_ACCEPT_new(void );
+static void BIO_ACCEPT_free(BIO_ACCEPT *a);
#define ACPT_S_BEFORE 1
#define ACPT_S_GET_ACCEPT_SOCKET 2
@@ -141,7 +141,7 @@
return(1);
}
-BIO_ACCEPT *BIO_ACCEPT_new(void)
+static BIO_ACCEPT *BIO_ACCEPT_new(void)
{
BIO_ACCEPT *ret;
@@ -154,7 +154,7 @@
return(ret);
}
-void BIO_ACCEPT_free(BIO_ACCEPT *a)
+static void BIO_ACCEPT_free(BIO_ACCEPT *a)
{
if(a == NULL)
return;
@@ .
patch -p0 <<'@@ .'
Index: openssl/crypto/bio/bss_dgram.c
============================================================================
$ cvs diff -u -r1.2 -r1.3 bss_dgram.c
--- openssl/crypto/bio/bss_dgram.c 27 Apr 2005 16:27:12 -0000 1.2
+++ openssl/crypto/bio/bss_dgram.c 15 Feb 2006 20:20:20 -0000 1.3
@@ -82,7 +82,7 @@
static int dgram_free(BIO *data);
static int dgram_clear(BIO *bio);
-int BIO_dgram_should_retry(int s);
+static int BIO_dgram_should_retry(int s);
static BIO_METHOD methods_dgramp=
{
@@ -399,7 +399,7 @@
return(ret);
}
-int BIO_dgram_should_retry(int i)
+static int BIO_dgram_should_retry(int i)
{
int err;
@@ .
______________________________________________________________________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List openssl-cvs@openssl.org
Automated List Manager majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic