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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user