summaryrefslogtreecommitdiffstats
path: root/contrib/ncurses/form/fld_pad.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
committerpeter <peter@FreeBSD.org>2001-05-17 08:21:06 +0000
commit2d92ca4d1406bb14f0584ee668516b4c3303416c (patch)
treeddc5913d13b386dceb6b29644af208b011ae2bad /contrib/ncurses/form/fld_pad.c
parent5411edc0fbb52100d0c701ae4710b831a88fe7d5 (diff)
parentb7ada7f2444f41b672faef4f93e446bdf8584cf9 (diff)
downloadFreeBSD-src-2d92ca4d1406bb14f0584ee668516b4c3303416c.zip
FreeBSD-src-2d92ca4d1406bb14f0584ee668516b4c3303416c.tar.gz
This commit was generated by cvs2svn to compensate for changes in r76726,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/ncurses/form/fld_pad.c')
-rw-r--r--contrib/ncurses/form/fld_pad.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/contrib/ncurses/form/fld_pad.c b/contrib/ncurses/form/fld_pad.c
index 527e151..f4556b2 100644
--- a/contrib/ncurses/form/fld_pad.c
+++ b/contrib/ncurses/form/fld_pad.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright (c) 1998 Free Software Foundation, Inc. *
+ * Copyright (c) 1998,2000 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 *
@@ -31,7 +31,7 @@
****************************************************************************/
#include "form.priv.h"
-MODULE_ID("$Id: fld_pad.c,v 1.4 1999/05/16 17:38:58 juergen Exp $")
+MODULE_ID("$Id: fld_pad.c,v 1.5 2000/12/10 02:09:38 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -44,7 +44,8 @@ MODULE_ID("$Id: fld_pad.c,v 1.4 1999/05/16 17:38:58 juergen Exp $")
| E_BAD_ARGUMENT - invalid field pointer or pad character
| E_SYSTEM_ERROR - system error
+--------------------------------------------------------------------------*/
-int set_field_pad(FIELD * field, int ch)
+NCURSES_EXPORT(int)
+set_field_pad (FIELD * field, int ch)
{
int res = E_BAD_ARGUMENT;
@@ -70,7 +71,8 @@ int set_field_pad(FIELD * field, int ch)
|
| Return Values : The pad character.
+--------------------------------------------------------------------------*/
-int field_pad(const FIELD * field)
+NCURSES_EXPORT(int)
+field_pad (const FIELD * field)
{
return Normalize_Field( field )->pad;
}
OpenPOWER on IntegriCloud