summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
committerUlf Möller <ulf@openssl.org>1999-04-26 16:43:10 +0000
commita9be3af5ad4836f7e50f0546311ca90c717b861e (patch)
treef44f7f8c4497d85da4c5cbd08067479bb20ced95 /crypto/conf
parent47339f6179fbefafc793c10b0411ed0365497d65 (diff)
Remove NOPROTO definitions and error code comments.
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf.c15
-rw-r--r--crypto/conf/conf.h12
2 files changed, 0 insertions, 27 deletions
diff --git a/crypto/conf/conf.c b/crypto/conf/conf.c
index f2387098e6..28f08b3c39 100644
--- a/crypto/conf/conf.c
+++ b/crypto/conf/conf.c
@@ -67,7 +67,6 @@
#include "conf_lcl.h"
-#ifndef NOPROTO
static void value_free_hash(CONF_VALUE *a, LHASH *conf);
static void value_free_stack(CONF_VALUE *a,LHASH *conf);
static unsigned long hash(CONF_VALUE *v);
@@ -79,20 +78,6 @@ static int str_copy(LHASH *conf,char *section,char **to, char *from);
static char *scan_quote(char *p);
static CONF_VALUE *new_section(LHASH *conf,char *section);
static CONF_VALUE *get_section(LHASH *conf,char *section);
-#else
-static void value_free_hash();
-static void value_free_stack();
-static unsigned long hash();
-static int cmp();
-static char *eat_ws();
-static char *eat_alpha_numeric();
-static void clear_comments();
-static int str_copy();
-static char *scan_quote();
-static CONF_VALUE *new_section();
-static CONF_VALUE *get_section();
-#endif
-
#define scan_esc(p) ((((p)[1] == '\0')?(p++):(p+=2)),p)
const char *CONF_version="CONF" OPENSSL_VERSION_PTEXT;
diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h
index 58fa191f9a..2401518a12 100644
--- a/crypto/conf/conf.h
+++ b/crypto/conf/conf.h
@@ -73,7 +73,6 @@ typedef struct
char *value;
} CONF_VALUE;
-#ifndef NOPROTO
LHASH *CONF_load(LHASH *conf,char *file,long *eline);
STACK *CONF_get_section(LHASH *conf,char *section);
@@ -82,17 +81,6 @@ long CONF_get_number(LHASH *conf,char *group,char *name);
void CONF_free(LHASH *conf);
void ERR_load_CONF_strings(void );
-#else
-
-LHASH *CONF_load();
-STACK *CONF_get_section();
-char *CONF_get_string();
-long CONF_get_number();
-void CONF_free();
-void ERR_load_CONF_strings();
-
-#endif
-
/* BEGIN ERROR CODES */
/* The following lines are auto generated by the script mkerr.pl. Any changes
* made after this point may be overwritten when the script is next run.