[ghex] Fix one compiler warning, remove unused functions
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] Fix one compiler warning, remove unused functions
- Date: Fri, 5 Mar 2010 10:46:59 +0000 (UTC)
commit 70cf287588917ededf8ce65162ab9ddcefd5b28c
Author: Andre Klapper <a9016009 gmx de>
Date: Fri Mar 5 11:46:36 2010 +0100
Fix one compiler warning, remove unused functions
src/hex-dialog.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/hex-dialog.c b/src/hex-dialog.c
index f22e022..8933573 100644
--- a/src/hex-dialog.c
+++ b/src/hex-dialog.c
@@ -263,7 +263,7 @@ static char convbuffer[CONV_BUFSIZE];
* also makes it endian safe (i think)
*/
-unsigned int pow2(int p)
+static unsigned int pow2(int p)
{
unsigned int i = 0, r = 1;
for (i = 0; i < p; i++)
@@ -271,16 +271,6 @@ unsigned int pow2(int p)
return r;
}
-double fpow10(int p)
-{
- return pow(10, p);
-}
-
-double fpow2(int p)
-{
- return pow(2.0, p);
-}
-
char *HexConvert_S8(HexDialogVal64 *val, HexConversionProperties *prop)
{
int i, local = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]