Message ID | 6b46f44b-b651-97cb-e6c0-a11213aa438a@redhat.com |
---|---|
State | New |
Headers | show |
On Sep 08 2016, Florian Weimer <fweimer@redhat.com> wrote: > How does this work? Like this? > > diff --git a/stdlib/getrandom.c b/stdlib/getrandom.c > index f0b3181..bb22dd8 100644 > --- a/stdlib/getrandom.c > +++ b/stdlib/getrandom.c > @@ -29,3 +29,5 @@ __getrandom (void *buffer, size_t length, unsigned int > flags) > } > > stub_warning (__getrandom) > + > +weak_alias (__getrandom, getrand) Modulo typo. Andreas.
diff --git a/stdlib/getrandom.c b/stdlib/getrandom.c index f0b3181..bb22dd8 100644 --- a/stdlib/getrandom.c +++ b/stdlib/getrandom.c @@ -29,3 +29,5 @@ __getrandom (void *buffer, size_t length, unsigned int flags) } stub_warning (__getrandom) +