summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsg <>2024-09-20 02:00:46 +0000
committerjsg <>2024-09-20 02:00:46 +0000
commit125bc1817697d366947ffe79f9f64bd06b69bafa (patch)
tree570f868a5e3914f52b700d0c8ef9855c85c41df9
parent94463ca6c7ec8624baf7275a638b9a583069f5e4 (diff)
downloadopenbsd-125bc1817697d366947ffe79f9f64bd06b69bafa.tar.gz
openbsd-125bc1817697d366947ffe79f9f64bd06b69bafa.tar.bz2
openbsd-125bc1817697d366947ffe79f9f64bd06b69bafa.zip
remove unneeded semicolons; checked by millert@
-rw-r--r--src/lib/libc/stdlib/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c
index 17ba5fb127..cad8e5d6a1 100644
--- a/src/lib/libc/stdlib/malloc.c
+++ b/src/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: malloc.c,v 1.296 2024/03/30 07:50:39 miod Exp $ */ 1/* $OpenBSD: malloc.c,v 1.297 2024/09/20 02:00:46 jsg Exp $ */
2/* 2/*
3 * Copyright (c) 2008, 2010, 2011, 2016, 2023 Otto Moerbeek <otto@drijf.net> 3 * Copyright (c) 2008, 2010, 2011, 2016, 2023 Otto Moerbeek <otto@drijf.net>
4 * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> 4 * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@@ -2350,7 +2350,7 @@ aligned_alloc(size_t alignment, size_t size)
2350 if (((alignment - 1) & alignment) != 0 || alignment == 0) { 2350 if (((alignment - 1) & alignment) != 0 || alignment == 0) {
2351 errno = EINVAL; 2351 errno = EINVAL;
2352 return NULL; 2352 return NULL;
2353 }; 2353 }
2354 /* Per spec, size should be a multiple of alignment */ 2354 /* Per spec, size should be a multiple of alignment */
2355 if ((size & (alignment - 1)) != 0) { 2355 if ((size & (alignment - 1)) != 0) {
2356 errno = EINVAL; 2356 errno = EINVAL;