xref: /titanic_44/usr/src/grub/grub-0.97/grub/mapfile-intf (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
11b8adde7SWilliam Kucharski#
21b8adde7SWilliam Kucharski# CDDL HEADER START
31b8adde7SWilliam Kucharski#
41b8adde7SWilliam Kucharski# The contents of this file are subject to the terms of the
51b8adde7SWilliam Kucharski# Common Development and Distribution License (the "License").
61b8adde7SWilliam Kucharski# You may not use this file except in compliance with the License.
71b8adde7SWilliam Kucharski#
81b8adde7SWilliam Kucharski# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91b8adde7SWilliam Kucharski# or http://www.opensolaris.org/os/licensing.
101b8adde7SWilliam Kucharski# See the License for the specific language governing permissions
111b8adde7SWilliam Kucharski# and limitations under the License.
121b8adde7SWilliam Kucharski#
131b8adde7SWilliam Kucharski# When distributing Covered Code, include this CDDL HEADER in each
141b8adde7SWilliam Kucharski# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151b8adde7SWilliam Kucharski# If applicable, add the following below this CDDL HEADER, with the
161b8adde7SWilliam Kucharski# fields enclosed by brackets "[]" replaced with your own identifying
171b8adde7SWilliam Kucharski# information: Portions Copyright [yyyy] [name of copyright owner]
181b8adde7SWilliam Kucharski#
191b8adde7SWilliam Kucharski# CDDL HEADER END
201b8adde7SWilliam Kucharski#
211b8adde7SWilliam Kucharski
221b8adde7SWilliam Kucharski#
23*cd3e9333SAli Bahrami# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
241b8adde7SWilliam Kucharski#
25bfed486aSAli Bahrami
26bfed486aSAli Bahrami#
27bfed486aSAli Bahrami# MAPFILE HEADER START
28bfed486aSAli Bahrami#
29bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
30bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
31bfed486aSAli Bahrami#
32bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
33bfed486aSAli Bahrami#
34bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
35bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
36bfed486aSAli Bahrami#
37bfed486aSAli Bahrami# MAPFILE HEADER END
381b8adde7SWilliam Kucharski#
391b8adde7SWilliam Kucharski
40*cd3e9333SAli Bahrami$mapfile_version 2
41*cd3e9333SAli Bahrami
421b8adde7SWilliam Kucharski# The grub shell interposes on the getopt() family - this reimplementation is
431b8adde7SWilliam Kucharski# required for the real grub loader which can't depend on libc.  The grub shell
441b8adde7SWilliam Kucharski# is built from the same source as the grub loader.
45*cd3e9333SAli BahramiSYMBOL_SCOPE {
461b8adde7SWilliam Kucharski	global:
47*cd3e9333SAli Bahrami		getopt			{ FLAGS = INTERPOSE };
48*cd3e9333SAli Bahrami		getopt_long		{ FLAGS = INTERPOSE };
49*cd3e9333SAli Bahrami		getopt_long_only	{ FLAGS = INTERPOSE };
50*cd3e9333SAli Bahrami		optarg			{ FLAGS = INTERPOSE };
51*cd3e9333SAli Bahrami		opterr			{ FLAGS = INTERPOSE };
52*cd3e9333SAli Bahrami		optind			{ FLAGS = INTERPOSE };
53*cd3e9333SAli Bahrami		optopt			{ FLAGS = INTERPOSE };
541b8adde7SWilliam Kucharski	local:
551b8adde7SWilliam Kucharski		*;
561b8adde7SWilliam Kucharski};
57