summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-05 06:23:30 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-05 06:23:30 +0000
commit146eef7b47aee302d588dcdf461ebec5870a6846 (patch)
tree3e4d02f6ce176730e246335dc69cce8afe3f4599 /Build/source/texk
parent3a4b54385055c55cd00e0d55ec8647a8b8ddb046 (diff)
dvipdfm-x: ANSI C function definitions and protos
git-svn-id: svn://tug.org/texlive/trunk@34846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog5
-rw-r--r--Build/source/texk/dvipdfm-x/pst_obj.c20
-rw-r--r--Build/source/texk/dvipdfm-x/t1_char.c4
3 files changed, 17 insertions, 12 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index c9f10b7adc5..06566108559 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,8 @@
+2014-08-05 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * pst_obj.c, t1_char.c: ANSI C function protos and definitions,
+ i.e., FOO(void) instead of FOO().
+
2014-08-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* tt_cmap.c (create_ToUnicode_cmap): Drop unused variables.
diff --git a/Build/source/texk/dvipdfm-x/pst_obj.c b/Build/source/texk/dvipdfm-x/pst_obj.c
index 2d124faf7e9..e082e8b3b16 100644
--- a/Build/source/texk/dvipdfm-x/pst_obj.c
+++ b/Build/source/texk/dvipdfm-x/pst_obj.c
@@ -66,7 +66,7 @@ static void pst_boolean_release (pst_boolean *obj);
static long pst_boolean_IV (pst_boolean *obj);
static double pst_boolean_RV (pst_boolean *obj);
static unsigned char *pst_boolean_SV (pst_boolean *obj);
-static long pst_boolean_length ();
+static long pst_boolean_length (void);
static void *pst_boolean_data_ptr(pst_boolean *obj);
/* NUMBERS */
@@ -75,7 +75,7 @@ static void pst_integer_release (pst_integer *obj);
static long pst_integer_IV (pst_integer *obj);
static double pst_integer_RV (pst_integer *obj);
static unsigned char *pst_integer_SV (pst_integer *obj);
-static unsigned int pst_integer_length ();
+static unsigned int pst_integer_length (void);
static void *pst_integer_data_ptr(pst_integer *obj);
static pst_real *pst_real_new (double value) ;
@@ -84,13 +84,13 @@ static long pst_real_IV (pst_real *obj);
static double pst_real_RV (pst_real *obj);
static unsigned char *pst_real_SV (pst_real *obj);
static void *pst_real_data_ptr (pst_real *obj);
-static unsigned int pst_real_length ();
+static unsigned int pst_real_length (void);
/* NAME */
static pst_name *pst_name_new (const char *name) ;
static void pst_name_release (pst_name *obj);
-static long pst_name_IV ();
-static double pst_name_RV ();
+static long pst_name_IV (void);
+static double pst_name_RV (void);
static unsigned char *pst_name_SV (pst_name *obj);
static void *pst_name_data_ptr (pst_name *obj);
static unsigned int pst_name_length (pst_name *obj);
@@ -355,7 +355,7 @@ pst_boolean_SV (pst_boolean *obj)
}
static long
-pst_boolean_length ()
+pst_boolean_length (void)
{
TYPE_ERROR();
return 0;
@@ -459,7 +459,7 @@ pst_integer_data_ptr (pst_integer *obj)
}
static unsigned int
-pst_integer_length ()
+pst_integer_length (void)
{
TYPE_ERROR();
return 0;
@@ -524,7 +524,7 @@ pst_real_data_ptr (pst_real *obj)
}
static unsigned int
-pst_real_length ()
+pst_real_length (void)
{
TYPE_ERROR();
return 0;
@@ -678,14 +678,14 @@ pst_parse_name (unsigned char **inbuf, unsigned char *inbufend) /* / is required
}
static long
-pst_name_IV ()
+pst_name_IV (void)
{
TYPE_ERROR();
return 0;
}
static double
-pst_name_RV ()
+pst_name_RV (void)
{
TYPE_ERROR();
return 0;
diff --git a/Build/source/texk/dvipdfm-x/t1_char.c b/Build/source/texk/dvipdfm-x/t1_char.c
index e42487660bb..cb8145e6424 100644
--- a/Build/source/texk/dvipdfm-x/t1_char.c
+++ b/Build/source/texk/dvipdfm-x/t1_char.c
@@ -635,7 +635,7 @@ do_othersubr0 (t1_chardesc *cd)
/* Start flex */
static void
-do_othersubr1 ()
+do_othersubr1 (void)
{
phase = T1_CS_PHASE_FLEX;
}
@@ -679,7 +679,7 @@ do_othersubr3 (t1_chardesc *cd)
}
static void
-do_othersubr12 ()
+do_othersubr12 (void)
{
/* Othersubr12 call must immediately follow the hsbw or sbw. */
if (phase != T1_CS_PHASE_INIT) {