summaryrefslogtreecommitdiff
path: root/src/AsciiSrc.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 04:23:57 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-24 23:34:51 -0500
commita4c27e1e353978aeb78cfb9a3f4dda7689119ee9 (patch)
treee1ff9c075cd89e9d1fc88d610261ac3f68c82f4c /src/AsciiSrc.c
parentdc03ee95bc990e22094360c3b0c801ae2fdeed8e (diff)
unifdef -DNeedFunctionPrototypes -DNeedVarargsPrototypes
This is the first step to removing old-style function definition warnings. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src/AsciiSrc.c')
-rw-r--r--src/AsciiSrc.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/AsciiSrc.c b/src/AsciiSrc.c
index 668cc8d..4a5373b 100644
--- a/src/AsciiSrc.c
+++ b/src/AsciiSrc.c
@@ -736,12 +736,7 @@ Widget w;
*/
void
-#if NeedFunctionPrototypes
XawAsciiSourceFreeString(Widget w)
-#else
-XawAsciiSourceFreeString(w)
-Widget w;
-#endif
{
AsciiSrcObject src = (AsciiSrcObject) w;
@@ -778,12 +773,7 @@ Widget w;
*/
Boolean
-#if NeedFunctionPrototypes
XawAsciiSave(Widget w)
-#else
-XawAsciiSave(w)
-Widget w;
-#endif
{
AsciiSrcObject src = (AsciiSrcObject) w;
@@ -846,13 +836,7 @@ Widget w;
*/
Boolean
-#if NeedFunctionPrototypes
XawAsciiSaveAsFile(Widget w, _Xconst char* name)
-#else
-XawAsciiSaveAsFile(w, name)
-Widget w;
-String name;
-#endif
{
AsciiSrcObject src = (AsciiSrcObject) w;
String string;
@@ -889,12 +873,7 @@ String name;
*/
Boolean
-#if NeedFunctionPrototypes
XawAsciiSourceChanged(Widget w)
-#else
-XawAsciiSourceChanged(w)
-Widget w;
-#endif
{
#ifdef XAW_INTERNATIONALIZATION
if ( XtIsSubclass( w, multiSrcObjectClass ) )