xref: /titanic_44/usr/src/grub/grub-0.97/grub/mapfile-intf (revision 91d7f85e02991954d1e1bd44673df567ad8dcc87)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26#
27# MAPFILE HEADER START
28#
29# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30# Object versioning must comply with the rules detailed in
31#
32#	usr/src/lib/README.mapfiles
33#
34# You should not be making modifications here until you've read the most current
35# copy of that file. If you need help, contact a gatekeeper for guidance.
36#
37# MAPFILE HEADER END
38#
39
40$mapfile_version 2
41
42# The grub shell interposes on the getopt() family - this reimplementation is
43# required for the real grub loader which can't depend on libc.  The grub shell
44# is built from the same source as the grub loader.
45SYMBOL_SCOPE {
46	global:
47		getopt			{ FLAGS = INTERPOSE };
48		getopt_long		{ FLAGS = INTERPOSE };
49		getopt_long_only	{ FLAGS = INTERPOSE };
50		optarg			{ FLAGS = INTERPOSE };
51		opterr			{ FLAGS = INTERPOSE };
52		optind			{ FLAGS = INTERPOSE };
53		optopt			{ FLAGS = INTERPOSE };
54	local:
55		*;
56};
57