1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-30 00:56:33 +00:00

use "const char * const" for malloc_options here also

This commit is contained in:
deraadt
2025-05-23 00:40:45 +00:00
parent fb69fb32d2
commit d536148370

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: xmalloc.c,v 1.37 2022/03/13 23:27:54 cheloha Exp $ */
/* $OpenBSD: xmalloc.c,v 1.38 2025/05/23 00:40:45 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -22,7 +22,7 @@
#include "xmalloc.h"
#include "log.h"
char *malloc_options = "S";
const char * const malloc_options = "S";
void *
xmalloc(size_t size)