summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2018-01-24 23:50:59 (GMT)
committerAssaf Gordon <assafgordon@gmail.com>2018-01-24 23:50:59 (GMT)
commite1cf65422211b238b8f5a46a7b2c9ec886598ee9 (patch)
tree8195002ec499bd137de0d7d9bcb815e57f5c7392
parent526904307df717d2a11491235bad5b4df7954cd6 (diff)
downloaddatamash-master.zip
datamash-master.tar.gz
datamash-master.tar.bz2
maint: fix syntax-check issuesHEADmaster
* doc/datamash-texinfo.css: Limit to 80 characters. * po/POTFILES.in: Add missing files. * src/double-format.c: Remove unused "ignore-value.h". * src/text-options.{c,h}: Space after parens.
-rw-r--r--doc/datamash-texinfo.css4
-rw-r--r--po/POTFILES.in2
-rw-r--r--src/double-format.c1
-rw-r--r--src/text-options.c4
-rw-r--r--src/text-options.h2
5 files changed, 7 insertions, 6 deletions
diff --git a/doc/datamash-texinfo.css b/doc/datamash-texinfo.css
index 880888a..133cbe8 100644
--- a/doc/datamash-texinfo.css
+++ b/doc/datamash-texinfo.css
@@ -4,8 +4,8 @@ CSS for TexInfo/HTML files.
Copyright (C) 2015-2018 Assaf Gordon (assafgordon@gmail.com)
License:
- GNU All Permissive License
- https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html
+GNU All Permissive License
+https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 551bb01..0589f56 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -7,7 +7,9 @@ lib/version-etc.c
lib/xalloc-die.c
lib/xstrtol-error.c
src/datamash.c
+src/double-format.c
src/field-ops.c
src/op-parser.c
src/op-scanner.c
src/system.h
+src/text-options.c
diff --git a/src/double-format.c b/src/double-format.c
index 63c76d5..893256d 100644
--- a/src/double-format.c
+++ b/src/double-format.c
@@ -28,7 +28,6 @@ hence FSF copyright.
#include "system.h"
#include "die.h"
#include "quote.h"
-#include "ignore-value.h"
#include "xalloc.h"
diff --git a/src/text-options.c b/src/text-options.c
index 52f4b46..9b97018 100644
--- a/src/text-options.c
+++ b/src/text-options.c
@@ -88,7 +88,7 @@ void print_line_separator ();
/* Calculate the required size of the output buffer */
static void
-finalize_numeric_output_buffer()
+finalize_numeric_output_buffer ()
{
char c;
long double d = LDBL_MAX;
@@ -97,7 +97,7 @@ finalize_numeric_output_buffer()
}
void
-set_numeric_output_precision(const char* digits)
+set_numeric_output_precision (const char* digits)
{
long int l;
char *p;
diff --git a/src/text-options.h b/src/text-options.h
index fbed85a..01da84e 100644
--- a/src/text-options.h
+++ b/src/text-options.h
@@ -83,7 +83,7 @@ print_line_separator ()
void
-set_numeric_output_precision(const char* digits);
+set_numeric_output_precision (const char* digits);
void
set_numeric_printf_format (const char* format);