summaryrefslogtreecommitdiff
authoralwin <alwin>2004-02-27 23:29:32 (UTC)
committer alwin <alwin>2004-02-27 23:29:32 (UTC)
commit5d508c3d19bfe4f0840f43d7c221db4c3cc8cfad (patch) (side-by-side diff)
tree4e641b1ef1aa28d95f56066413f4c548415cc6b3
parent2b2f507809e55267bf8b2700d36fcab51b03f86a (diff)
downloadopie-5d508c3d19bfe4f0840f43d7c221db4c3cc8cfad.zip
opie-5d508c3d19bfe4f0840f43d7c221db4c3cc8cfad.tar.gz
opie-5d508c3d19bfe4f0840f43d7c221db4c3cc8cfad.tar.bz2
small bugfix so it compiles with arm-linux-gcc
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sysinfo/contrib/dhry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sysinfo/contrib/dhry.c b/noncore/settings/sysinfo/contrib/dhry.c
index d1dadbd..20b627c 100644
--- a/noncore/settings/sysinfo/contrib/dhry.c
+++ b/noncore/settings/sysinfo/contrib/dhry.c
@@ -476,49 +476,49 @@ double dtime()
*
* Author: Reinhold P. Weicker
*
*************************************************************************
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dhry.h"
/* Global Variables: */
Rec_Pointer Ptr_Glob,
Next_Ptr_Glob;
int Int_Glob;
Boolean Bool_Glob;
char Ch_1_Glob,
Ch_2_Glob;
int Arr_1_Glob [50];
int Arr_2_Glob [50] [50];
char Reg_Define[] = "Register option selected.";
-extern char *malloc ();
+//extern char *malloc ();
Enumeration Func_1 ();
/*
forward declaration necessary since Enumeration may not simply be int
*/
#ifndef ROPT
#define REG
/* REG becomes defined as empty */
/* i.e. no register variables */
#else
#define REG register
#endif
/* variables for time measurement: */
#define Too_Small_Time 2
/* Measurements should last at least 2 seconds */
double Begin_Time,
End_Time,
User_Time;
double Microseconds,