about summary refs log tree commit diff
path: root/lib/libpm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-01-03 01:25:27 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2015-01-03 01:25:27 +0000
commitaf4792d67fece463885dabbc5deda5581b46d3bb (patch)
tree6a93586fe4706941a1b504f7fe31e9600eb6afad /lib/libpm.c
parentd757fb6d240cb136b015f91e5957f39c0adb757f (diff)
downloadnetpbm-mirror-af4792d67fece463885dabbc5deda5581b46d3bb.tar.gz
netpbm-mirror-af4792d67fece463885dabbc5deda5581b46d3bb.tar.xz
netpbm-mirror-af4792d67fece463885dabbc5deda5581b46d3bb.zip
Fix external header file pm.h so it doesn't include internal header file pm_c_util.h
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2371 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libpm.c')
-rw-r--r--lib/libpm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libpm.c b/lib/libpm.c
index 69fe1dbf..4374bbe3 100644
--- a/lib/libpm.c
+++ b/lib/libpm.c
@@ -278,10 +278,11 @@ pm_error(const char format[], ...) {
 
 
 
-bool
+int
 pm_have_float_format(void) {
 /*----------------------------------------------------------------------------
-  Return true iff %f, %e, and %g work in format strings for pm_message, etc.
+  Return 1 if %f, %e, and %g work in format strings for pm_message, etc.;
+  0 otherwise.
 
   Where they don't "work," that means the specifier just appears itself in
   the formatted strings, e.g. "the number is g".