summaryrefslogtreecommitdiffstats
path: root/form/fld_current.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-04-30 10:55:14 +0000
committered <ed@FreeBSD.org>2011-04-30 10:55:14 +0000
commit96a5d985d406fe757a1384a819de017d76b07b3e (patch)
treee563e21bcc0164ba11452983316bda26eebb1d3c /form/fld_current.c
parent4401a3c978d50eae7d85ec4bf4fed7d0fdc096b5 (diff)
downloadFreeBSD-src-96a5d985d406fe757a1384a819de017d76b07b3e.zip
FreeBSD-src-96a5d985d406fe757a1384a819de017d76b07b3e.tar.gz
Import a stock copy of ncurses 5.8 into the vendor space.
It seems both local changes we made to 5.7 have already been fixed upstream properly, so there is no need to preserve the changes. Also, with SVN we import full source trees. Unlike CVS, where we removed unneeded cruft.
Diffstat (limited to 'form/fld_current.c')
-rw-r--r--form/fld_current.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/form/fld_current.c b/form/fld_current.c
index 7c3a90a..ef9ec00 100644
--- a/form/fld_current.c
+++ b/form/fld_current.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. *
+ * Copyright (c) 1998-2004,2010 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 *
@@ -32,7 +32,7 @@
#include "form.priv.h"
-MODULE_ID("$Id: fld_current.c,v 1.11 2004/12/25 22:40:13 tom Exp $")
+MODULE_ID("$Id: fld_current.c,v 1.12 2010/01/23 21:14:35 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -52,7 +52,7 @@ set_current_field(FORM *form, FIELD *field)
{
int err = E_OK;
- T((T_CALLED("set_current_field(%p,%p)"), form, field));
+ T((T_CALLED("set_current_field(%p,%p)"), (void *)form, (void *)field));
if (form == 0 || field == 0)
{
RETURN(E_BAD_ARGUMENT);
@@ -113,7 +113,7 @@ set_current_field(FORM *form, FIELD *field)
NCURSES_EXPORT(FIELD *)
current_field(const FORM *form)
{
- T((T_CALLED("current_field(%p)"), form));
+ T((T_CALLED("current_field(%p)"), (const void *)form));
returnField(Normalize_Form(form)->current);
}
@@ -130,7 +130,7 @@ current_field(const FORM *form)
NCURSES_EXPORT(int)
field_index(const FIELD *field)
{
- T((T_CALLED("field_index(%p)"), field));
+ T((T_CALLED("field_index(%p)"), (const void *)field));
returnCode((field != 0 && field->form != 0) ? (int)field->index : -1);
}
OpenPOWER on IntegriCloud