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>
This commit is contained in:
Guy Harris 2014-12-19 19:44:03 -08:00
parent b925c350d9
commit b445b3da44
4 changed files with 8 additions and 8 deletions

View File

@ -34,7 +34,7 @@
#include "ui/ui_util.h"
#ifndef HAVE_FLOORL
# include "wsutil/floor.h"
# include "wsutil/floorl.h"
#endif
#define SHIFT_POS 0

View File

@ -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 \

View File

@ -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

View File

@ -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>