diff options
author | Karl Berry <karl@freefriends.org> | 2007-07-23 23:30:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-07-23 23:30:18 +0000 |
commit | 8352b3b9bad68c40f9bb7e4288b5079d8e15ba29 (patch) | |
tree | 01fcaf8f4b0b729197305c80ab778530acf62210 /Build/source | |
parent | 136057eb81d872ba73ab7d8f6f7d44c54be252a1 (diff) |
recorder strings are const
git-svn-id: svn://tug.org/texlive/trunk@4646 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 9 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/recorder.h | 11 |
2 files changed, 14 insertions, 6 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index f60c11b72a5..9bf7e3ccb3a 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,12 @@ +2007-07-24 Karl Berry <karl@tug.org> + + * recorder.h (kpse_input, kpse_output): use const_string as + argument, not just char *, to avoid warning. + + * fontmap.c (map_file_parse): kpse_record_input if requested. + From Akira, 23 Jul 2007 10:20:58 (original report from George + White). + 2007-07-15 Karl Berry <karl@tug.org> * depend.mak: update. diff --git a/Build/source/texk/kpathsea/recorder.h b/Build/source/texk/kpathsea/recorder.h index a3532de1f89..1631b1b5904 100644 --- a/Build/source/texk/kpathsea/recorder.h +++ b/Build/source/texk/kpathsea/recorder.h @@ -15,16 +15,15 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ #ifndef KPATHSEA_RECORDER_H #define KPATHSEA_RECORDER_H -/* Thess variables get set by web2c and are used to record filenames for its - * filename recorder. This way they can also be used in kpathsea, e.g. for - * texmf.cnf */ -void (*kpse_record_input)(char*); -void (*kpse_record_output)(char*); +/* These variables are set by web2c and are used to record filenames for its + filename -recorder option. This way they can also be used for files + opened by kpathsea, e.g., texmf.cnf */ +void (*kpse_record_input) (const_string); +void (*kpse_record_output) (const_string); #endif /* not KPATHSEA_RECORDER_H */ |