binutils-gdb/gdb/solib-darwin.h
Tom Tromey 549dfc51b0 Constify some target_so_ops instances
This changes some target_so_ops instances to be const.  This makes
their use a little more obvious (they can't be mutated) and also
allows for the removal of some initialization code.
2022-09-20 12:25:19 -06:00

29 lines
955 B
C

/* Handle shared libraries for GDB, the GNU Debugger.
Copyright (C) 2009-2022 Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef SOLIB_DARWIN_H
#define SOLIB_DARWIN_H
struct objfile;
struct target_so_ops;
extern const struct target_so_ops darwin_so_ops;
#endif /* solib-darwin.h */