summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-12 09:09:29 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-05-12 09:09:29 +0000
commitfbafd775bc4bd95be3ef5a03bf4d95202f154f34 (patch)
tree29d5728f1feac39a036c6c661dfb1e1db83f83b2
parentbe50c2a909259fedd9732d3419478ca731aec660 (diff)
Avoid 'missing prototype' warnings
git-svn-id: svn://tug.org/texlive/trunk@22437 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog5
-rw-r--r--Build/source/texk/web2c/synctexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex-etex.h1
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex-pdftex.h1
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex-tex.h1
-rw-r--r--Build/source/texk/web2c/synctexdir/synctex-xetex.h2
-rw-r--r--Build/source/texk/web2c/texmfmp.h3
7 files changed, 12 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index c620f8982f4..45904a8d0ac 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * texmfmp.h: Move generic_synctex_get_current_name() prototype
+ from synctexdir/synctex-{,e,pdf,xe}tex.h to here.
+
2011-05-11 Peter Breitenlohner <peb@mppmu.mpg.de>
* osx-strip: Removed.
diff --git a/Build/source/texk/web2c/synctexdir/ChangeLog b/Build/source/texk/web2c/synctexdir/ChangeLog
index a195d5435e5..cd67f770a1f 100644
--- a/Build/source/texk/web2c/synctexdir/ChangeLog
+++ b/Build/source/texk/web2c/synctexdir/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * synctex-etex.h, synctex-pdftex.h, synctex-tex.h, synctex-xetex.h:
+ Move generic_synctex_get_current_name() prototype to ../texmfmp.h.
+
2011-05-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* synctex-etex.h, synctex-pdftex.h, synctex-tex.h, synctex-xetex.h:
diff --git a/Build/source/texk/web2c/synctexdir/synctex-etex.h b/Build/source/texk/web2c/synctexdir/synctex-etex.h
index 7b5fb70081c..4b80f1da0bb 100644
--- a/Build/source/texk/web2c/synctexdir/synctex-etex.h
+++ b/Build/source/texk/web2c/synctexdir/synctex-etex.h
@@ -52,5 +52,4 @@ Thu Jun 19 09:39:21 UTC 2008
# include "etexd.h"
-extern char *generic_synctex_get_current_name(void);
#define SYNCTEX_GET_CURRENT_NAME() generic_synctex_get_current_name()
diff --git a/Build/source/texk/web2c/synctexdir/synctex-pdftex.h b/Build/source/texk/web2c/synctexdir/synctex-pdftex.h
index b3a0ece2d5e..cc8a5c33efa 100644
--- a/Build/source/texk/web2c/synctexdir/synctex-pdftex.h
+++ b/Build/source/texk/web2c/synctexdir/synctex-pdftex.h
@@ -50,7 +50,6 @@ Thu Jun 19 09:39:21 UTC 2008
# include "pdftexd.h"
-extern char *generic_synctex_get_current_name(void);
/* We observe pdfoutputvalue in order to determine whether output mode is
* pdf or dvi.
* We will assume that pdf_output_value equals pdf_output before entering
diff --git a/Build/source/texk/web2c/synctexdir/synctex-tex.h b/Build/source/texk/web2c/synctexdir/synctex-tex.h
index b110fd01d9a..b026b9242c2 100644
--- a/Build/source/texk/web2c/synctexdir/synctex-tex.h
+++ b/Build/source/texk/web2c/synctexdir/synctex-tex.h
@@ -52,5 +52,4 @@ Thu Jun 19 09:39:21 UTC 2008
# include "texd.h"
-extern char *generic_synctex_get_current_name(void);
# define SYNCTEX_GET_CURRENT_NAME() generic_synctex_get_current_name()
diff --git a/Build/source/texk/web2c/synctexdir/synctex-xetex.h b/Build/source/texk/web2c/synctexdir/synctex-xetex.h
index accf79ea413..a34a5dd8ffa 100644
--- a/Build/source/texk/web2c/synctexdir/synctex-xetex.h
+++ b/Build/source/texk/web2c/synctexdir/synctex-xetex.h
@@ -62,8 +62,6 @@ Thu Jun 19 09:39:21 UTC 2008
*/
# define synchronization_field_size 1
-extern char *generic_synctex_get_current_name(void);
-
/* in XeTeX, "halfword" fields are at least 32 bits, so we'll use those for
* tag and line so that the sync field size is only one memory_word. */
# define SYNCTEX_TAG_MODEL(NODE,TYPE)\
diff --git a/Build/source/texk/web2c/texmfmp.h b/Build/source/texk/web2c/texmfmp.h
index 22dcb099818..58d068a8a34 100644
--- a/Build/source/texk/web2c/texmfmp.h
+++ b/Build/source/texk/web2c/texmfmp.h
@@ -357,9 +357,10 @@ extern void do_undump (char *, int, int, FILE *);
#endif
/* Handle SyncTeX, if requested */
-#if defined(TeX) || defined(eTeX) || defined(pdfTeX) || defined(XeTeX)
+#if defined(TeX)
# if defined(__SyncTeX__)
# include "synctexdir/synctex-common.h"
+extern char *generic_synctex_get_current_name(void);
# endif
#endif