X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Fregistry.c;h=db0f67b2e28d3549f4077274c9d61d6cf4d0c34b;hb=ed77529436987db979f3703cbbedd5dae2dd551c;hp=b8a5d5117858750a2a0a13cd953b9432dbf5173b;hpb=d59cea578a9f2b9961218e1440026715371836d8;p=platform%2Fupstream%2Flibvorbis.git diff --git a/lib/registry.c b/lib/registry.c index b8a5d51..db0f67b 100644 --- a/lib/registry.c +++ b/lib/registry.c @@ -5,13 +5,12 @@ * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * * * - * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * - * by the XIPHOPHORUS Company http://www.xiph.org/ * - + * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * + * by the Xiph.Org Foundation https://xiph.org/ * + * * ******************************************************************** function: registry for time, floor, res backends and channel mappings - last mod: $Id: registry.c,v 1.9 2001/08/13 01:36:57 xiphmont Exp $ ********************************************************************/ @@ -19,34 +18,27 @@ #include "codec_internal.h" #include "registry.h" #include "misc.h" - /* seems like major overkill now; the backend numbers will grow into the infrastructure soon enough */ -extern vorbis_func_time time0_exportbundle; -extern vorbis_func_floor floor0_exportbundle; -extern vorbis_func_floor floor1_exportbundle; -extern vorbis_func_residue residue0_exportbundle; -extern vorbis_func_residue residue1_exportbundle; -extern vorbis_func_residue residue2_exportbundle; -extern vorbis_func_mapping mapping0_exportbundle; +extern const vorbis_func_floor floor0_exportbundle; +extern const vorbis_func_floor floor1_exportbundle; +extern const vorbis_func_residue residue0_exportbundle; +extern const vorbis_func_residue residue1_exportbundle; +extern const vorbis_func_residue residue2_exportbundle; +extern const vorbis_func_mapping mapping0_exportbundle; -vorbis_func_time *_time_P[]={ - &time0_exportbundle, -}; - -vorbis_func_floor *_floor_P[]={ +const vorbis_func_floor *const _floor_P[]={ &floor0_exportbundle, &floor1_exportbundle, }; -vorbis_func_residue *_residue_P[]={ +const vorbis_func_residue *const _residue_P[]={ &residue0_exportbundle, &residue1_exportbundle, &residue2_exportbundle, }; -vorbis_func_mapping *_mapping_P[]={ +const vorbis_func_mapping *const _mapping_P[]={ &mapping0_exportbundle, }; -