xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/streamer-hooks.c (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg /* Streamer hooks.  Support for adding streamer-specific callbacks to
21debfc3dSmrg    generic streaming routines.
31debfc3dSmrg 
4*8feb0f0bSmrg    Copyright (C) 2011-2020 Free Software Foundation, Inc.
51debfc3dSmrg    Contributed by Diego Novillo <dnovillo@google.com>
61debfc3dSmrg 
71debfc3dSmrg This file is part of GCC.
81debfc3dSmrg 
91debfc3dSmrg GCC is free software; you can redistribute it and/or modify it under
101debfc3dSmrg the terms of the GNU General Public License as published by the Free
111debfc3dSmrg Software Foundation; either version 3, or (at your option) any later
121debfc3dSmrg version.
131debfc3dSmrg 
141debfc3dSmrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY
151debfc3dSmrg WARRANTY; without even the implied warranty of MERCHANTABILITY or
161debfc3dSmrg FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
171debfc3dSmrg for more details.
181debfc3dSmrg 
191debfc3dSmrg You should have received a copy of the GNU General Public License
201debfc3dSmrg along with GCC; see the file COPYING3.  If not see
211debfc3dSmrg <http://www.gnu.org/licenses/>.  */
221debfc3dSmrg 
231debfc3dSmrg #include "config.h"
241debfc3dSmrg #include "system.h"
251debfc3dSmrg #include "coretypes.h"
261debfc3dSmrg #include "streamer-hooks.h"
271debfc3dSmrg 
281debfc3dSmrg /* Streamer hooks.  */
291debfc3dSmrg struct streamer_hooks streamer_hooks;
301debfc3dSmrg 
311debfc3dSmrg /* Initialize the current set of streamer hooks.  */
321debfc3dSmrg 
331debfc3dSmrg void
streamer_hooks_init(void)341debfc3dSmrg streamer_hooks_init (void)
351debfc3dSmrg {
361debfc3dSmrg   memset (&streamer_hooks, 0, sizeof (streamer_hooks));
371debfc3dSmrg }
38