This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/7] Add getauxval.
On 05/14/2012 06:40 PM, Richard Henderson wrote:
[...]
diff --git a/misc/sys/auxv.h b/misc/sys/auxv.h
index 19ef499..8fb484b 100644
--- a/misc/sys/auxv.h
+++ b/misc/sys/auxv.h
@@ -24,6 +24,7 @@
__BEGIN_DECLS
+extern unsigned long getauxval (unsigned long) __THROW;
Please add a comment for the function. Also use a parameter name with
meaning and explain it in the comment.
extern uint64_t gethwcap (void) __THROW;
__END_DECLS
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126