1 |
/* Support for opening `typed' stores |
/* Support for opening `typed' stores |
2 |
|
|
3 |
Copyright (C) 1997,1998,2001,2002,2003 Free Software Foundation, Inc. |
Copyright (C) 1997,1998,2001,2002,2003,2004 Free Software Foundation, Inc. |
4 |
Written by Miles Bader <miles@gnu.org> |
Written by Miles Bader <miles@gnu.org> |
5 |
|
|
6 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
53 |
If a dynamically-linked program has its own "store_std_classes" |
If a dynamically-linked program has its own "store_std_classes" |
54 |
section, e.g. by -lstore_TYPE objects included in the link, this will |
section, e.g. by -lstore_TYPE objects included in the link, this will |
55 |
be just that section and libstore.so itself is covered below. */ |
be just that section and libstore.so itself is covered below. */ |
|
# pragma weak __start_store_std_classes |
|
|
# pragma weak __stop_store_std_classes |
|
56 |
for (cl = __start_store_std_classes; cl < __stop_store_std_classes; ++cl) |
for (cl = __start_store_std_classes; cl < __stop_store_std_classes; ++cl) |
57 |
if (strlen ((*cl)->name) == (clname_end - name) |
if (strlen ((*cl)->name) == (clname_end - name) |
58 |
&& strncmp (name, (*cl)->name, (clname_end - name)) == 0) |
&& strncmp (name, (*cl)->name, (clname_end - name)) == 0) |