aboutsummaryrefslogtreecommitdiff
path: root/form/fty_ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'form/fty_ipv4.c')
-rw-r--r--form/fty_ipv4.c25
1 files changed, 5 insertions, 20 deletions
diff --git a/form/fty_ipv4.c b/form/fty_ipv4.c
index 8dc04f8c5345..5d1a2098ef94 100644
--- a/form/fty_ipv4.c
+++ b/form/fty_ipv4.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998-2006,2009 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
* copy of this software and associated documentation files (the *
@@ -34,7 +34,7 @@
#include "form.priv.h"
-MODULE_ID("$Id: fty_ipv4.c,v 1.10 2009/11/07 20:17:58 tom Exp $")
+MODULE_ID("$Id: fty_ipv4.c,v 1.8 2006/12/02 19:33:02 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -94,27 +94,12 @@ static FIELDTYPE typeIPV4 =
NULL,
NULL,
NULL,
- INIT_FT_FUNC(Check_IPV4_Field),
- INIT_FT_FUNC(Check_IPV4_Character),
- INIT_FT_FUNC(NULL),
- INIT_FT_FUNC(NULL),
-#if NCURSES_INTEROP_FUNCS
+ Check_IPV4_Field,
+ Check_IPV4_Character,
+ NULL,
NULL
-#endif
};
NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_IPV4 = &typeIPV4;
-#if NCURSES_INTEROP_FUNCS
-/* The next routines are to simplify the use of ncurses from
- programming languages with restictions on interop with C level
- constructs (e.g. variable access or va_list + ellipsis constructs)
-*/
-NCURSES_EXPORT(FIELDTYPE *)
-_nc_TYPE_IPV4(void)
-{
- return TYPE_IPV4;
-}
-#endif
-
/* fty_ipv4.c ends here */