summaryrefslogtreecommitdiff
path: root/lib/libform/fld_just.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libform/fld_just.c')
-rw-r--r--lib/libform/fld_just.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libform/fld_just.c b/lib/libform/fld_just.c
index 52bdb3a760a..61db459b6e7 100644
--- a/lib/libform/fld_just.c
+++ b/lib/libform/fld_just.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: fld_just.c,v 1.3 1999/05/17 03:04:14 millert Exp $ */
+/* $OpenBSD: fld_just.c,v 1.4 2001/01/22 18:02:12 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 *
@@ -34,7 +34,7 @@
#include "form.priv.h"
-MODULE_ID("$From: fld_just.c,v 1.5 1999/05/16 17:18:06 juergen Exp $")
+MODULE_ID("$From: fld_just.c,v 1.6 2000/12/10 02:09:38 tom Exp $")
/*---------------------------------------------------------------------------
| Facility : libnform
@@ -46,7 +46,8 @@ MODULE_ID("$From: fld_just.c,v 1.5 1999/05/16 17:18:06 juergen Exp $")
| E_BAD_ARGUMENT - one of the arguments was incorrect
| E_SYSTEM_ERROR - system error
+--------------------------------------------------------------------------*/
-int set_field_just(FIELD * field, int just)
+NCURSES_EXPORT(int)
+set_field_just (FIELD * field, int just)
{
int res = E_BAD_ARGUMENT;
@@ -75,7 +76,8 @@ int set_field_just(FIELD * field, int just)
|
| Return Values : The justification type.
+--------------------------------------------------------------------------*/
-int field_just(const FIELD * field)
+NCURSES_EXPORT(int)
+field_just (const FIELD * field)
{
return Normalize_Field( field )->just;
}