summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2020-01-05 12:03:45 +0200
committerToomas Soome <tsoome@me.com>2020-01-09 09:24:53 +0200
commit0639c0edfe5fac11628e478be2a3b2d88556fc80 (patch)
tree01a7fb7c730a2def89b0ed461c0f82b60c016411 /usr/src
parent4e5ef1cee66fbfbbd2b3e56b81e2bb5700f4a59e (diff)
downloadillumos-joyent-0639c0edfe5fac11628e478be2a3b2d88556fc80.tar.gz
12150 loader: warning: 'alloc_align' attribute ignored on a function returning 'int'
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Matthias Scheler <mscheler@tintri.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/boot/include/stdlib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/boot/include/stdlib.h b/usr/src/boot/include/stdlib.h
index d5506ff65e..b8708a27a5 100644
--- a/usr/src/boot/include/stdlib.h
+++ b/usr/src/boot/include/stdlib.h
@@ -172,8 +172,7 @@ char *realpath(const char * __restrict, char * __restrict);
int rand_r(unsigned *); /* (TSF) */
#endif
#if __POSIX_VISIBLE >= 200112
-int posix_memalign(void **, size_t, size_t) __nonnull(1) __alloc_align(2)
- __alloc_size(3); /* (ADV) */
+int posix_memalign(void **, size_t, size_t); /* (ADV) */
int setenv(const char *, const char *, int);
int unsetenv(const char *);
#endif