diff options
author | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:27 +0200 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2016-04-11 13:00:27 +0200 |
commit | 283707c5e5bc436b78ea23bf5500cb6b16a01148 (patch) | |
tree | b977131bbbb4c3bd8ade370aab2e4fc913440c04 /Meter.h | |
parent | bea9b4798717b6f4e31085506dfc179eeb8dc17c (diff) | |
download | debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.gz debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.tar.bz2 debian_htop-283707c5e5bc436b78ea23bf5500cb6b16a01148.zip |
Imported Upstream version 0.9upstream/0.9
Diffstat (limited to 'Meter.h')
-rw-r--r-- | Meter.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4,7 +4,7 @@ #define HEADER_Meter /* htop - Meter.h -(C) 2004-2006 Hisham H. Muhammad +(C) 2004-2010 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -44,7 +44,7 @@ typedef void(*Meter_Draw)(Meter*, int, int, int); struct MeterMode_ { Meter_Draw draw; - char* uiName; + const char* uiName; int h; }; @@ -55,9 +55,9 @@ struct MeterType_ { int items; double total; int* attributes; - char* name; - char* uiName; - char* caption; + const char* name; + const char* uiName; + const char* caption; MeterType_Init init; MeterType_Done done; MeterType_SetMode setMode; @@ -120,7 +120,7 @@ Meter* Meter_new(ProcessList* pl, int param, MeterType* type); void Meter_delete(Object* cast); -void Meter_setCaption(Meter* this, char* caption); +void Meter_setCaption(Meter* this, const char* caption); void Meter_setMode(Meter* this, int modeIndex); |