aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-12-19 19:44:03 -0800
committerGuy Harris <guy@alum.mit.edu>2014-12-20 03:44:34 +0000
commitb445b3da44d66704022012bc39f884b3ad0177b7 (patch)
treea746c222cfe5015134714acf7057fb9d5674977e /wsutil
parentb925c350d9bab35e5e389d3452199e6f8e6fbcb0 (diff)
Rename wsutil/floor.[ch] to wsutil/floorl.[ch].
That better indicates what they do - they don't supply floor(), as that's a standard math.h feature dating back before C89, they supply floorl(). Change-Id: Ib1278c51cdfc57680c28c51de87eafb2cb50c8eb Reviewed-on: https://code.wireshark.org/review/5905 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/Makefile.am4
-rw-r--r--wsutil/floorl.c (renamed from wsutil/floor.c)6
-rw-r--r--wsutil/floorl.h (renamed from wsutil/floor.h)4
3 files changed, 7 insertions, 7 deletions
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am
index 99db32a887..8401e45b08 100644
--- a/wsutil/Makefile.am
+++ b/wsutil/Makefile.am
@@ -72,8 +72,8 @@ libwsutil_sse42_la_SOURCES = \
libwsutil_sse42_la_CFLAGS = $(AM_CFLAGS) @CFLAGS_SSE42@
EXTRA_libwsutil_la_SOURCES= \
- floor.c \
- floor.h \
+ floorl.c \
+ floorl.h \
inet_aton.c \
inet_aton.h \
inet_ntop.c \
diff --git a/wsutil/floor.c b/wsutil/floorl.c
index b2fa732e51..5ca7354441 100644
--- a/wsutil/floor.c
+++ b/wsutil/floorl.c
@@ -1,6 +1,6 @@
-/* floor.c
+/* floorl.c
*
- * Provides floor functions for systems that do not provide them
+ * Provides floorl function for systems that do not provide it
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
@@ -23,7 +23,7 @@
#include "config.h"
-#include <glib.h>
+#include "wsutil/floorl.h"
#ifndef HAVE_FLOORL
long double
diff --git a/wsutil/floor.h b/wsutil/floorl.h
index b73ddbc466..f83126e402 100644
--- a/wsutil/floor.h
+++ b/wsutil/floorl.h
@@ -1,6 +1,6 @@
-/* floor.c
+/* floorl.h
*
- * Provides floor functions for systems that do not provide them
+ * Declares floorl function for systems that do not provide it
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>