From f09dc5a53a2a4eb27804566c124a7e72e995c274 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 2 Mar 2024 09:51:36 +0000 Subject: [PATCH] Remove unused OBJ_create_and_add_object() This is an alias for OBJ_create(). I haven't dug into its history. ok jsing --- lib/libcrypto/objects/objects.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libcrypto/objects/objects.h b/lib/libcrypto/objects/objects.h index 2804e6fe1cd..1a8490bd1ae 100644 --- a/lib/libcrypto/objects/objects.h +++ b/lib/libcrypto/objects/objects.h @@ -1,4 +1,4 @@ -/* $OpenBSD: objects.h,v 1.28 2024/03/02 09:50:47 tb Exp $ */ +/* $OpenBSD: objects.h,v 1.29 2024/03/02 09:51:36 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -86,8 +86,6 @@ typedef struct obj_name_st { const void *data; } OBJ_NAME; -#define OBJ_create_and_add_object(a,b,c) OBJ_create(a,b,c) - void OBJ_NAME_do_all(int type, void (*fn)(const OBJ_NAME *, void *arg), void *arg); void OBJ_NAME_do_all_sorted(int type, void (*fn)(const OBJ_NAME *, void *arg), -- 2.20.1