use struct units instead of units

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11677 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-03-07 15:51:53 +00:00
parent 5ad036507a
commit fc44dd3f4a
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ RCSID("$Id$");
#include <parse_units.h>
#include "parse_bytes.h"
static units bytes_units[] = {
static struct units bytes_units[] = {
{ "gigabyte", 1024 * 1024 * 1024 },
{ "gbyte", 1024 * 1024 * 1024 },
{ "GB", 1024 * 1024 * 1024 },
@@ -52,7 +52,7 @@ static units bytes_units[] = {
{ NULL, 0 }
};
static units bytes_short_units[] = {
static struct units bytes_short_units[] = {
{ "GB", 1024 * 1024 * 1024 },
{ "MB", 1024 * 1024 },
{ "KB", 1024 },