summaryrefslogtreecommitdiff
path: root/lib/libform/fld_pad.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-01-22 18:02:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-01-22 18:02:21 +0000
commit7fe795010750d2e2889d7085abeaa1ee0926c69b (patch)
treeb52138c43e052b09287afed0fb6351cd31249bda /lib/libform/fld_pad.c
parent85db479b2362c15a2266e01737d835e86cda1b1e (diff)
Update to ncurses-5.2-20010114
Diffstat (limited to 'lib/libform/fld_pad.c')
-rw-r--r--lib/libform/fld_pad.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libform/fld_pad.c b/lib/libform/fld_pad.c
index 0623fb1e032..5d2e4dfdceb 100644
--- a/lib/libform/fld_pad.c
+++ b/lib/libform/fld_pad.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: fld_pad.c,v 1.3 1999/05/17 03:04:15 millert Exp $ */
+/* $OpenBSD: fld_pad.c,v 1.4 2001/01/22 18:02:13 millert Exp $ */
/****************************************************************************
- * 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 *
@@ -33,7 +33,7 @@
****************************************************************************/
#include "form.priv.h"
-MODULE_ID("$From: fld_pad.c,v 1.4 1999/05/16 17:38:58 juergen Exp $")
+MODULE_ID("$From: fld_pad.c,v 1.5 2000/12/10 02:09:38 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -46,7 +46,8 @@ MODULE_ID("$From: 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;
@@ -72,7 +73,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;
}