From fa3ab1dfce7eddf0c6d12f8fed9e2ae54a72d88a Mon Sep 17 00:00:00 2001 From: jnemeth Date: Wed, 7 Jun 2006 09:36:39 +0000 Subject: Increase username length to match modern systems, and create #defines for a couple of lengths. --- atc/struct.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'atc') diff --git a/atc/struct.h b/atc/struct.h index 500a8ea1..7ac4ba7f 100644 --- a/atc/struct.h +++ b/atc/struct.h @@ -1,4 +1,4 @@ -/* $NetBSD: struct.h,v 1.5 2003/08/07 09:36:54 agc Exp $ */ +/* $NetBSD: struct.h,v 1.6 2006/06/07 09:36:39 jnemeth Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -95,7 +95,7 @@ typedef struct { } LIST; typedef struct { - char name[10]; + char name[33]; char host[256]; char game[256]; int planes; @@ -104,6 +104,8 @@ typedef struct { } SCORE; #define SCORE_SCANF_FMT "%9s %255s %255s %d %d %d" +#define SCORE_NAME_LEN 33 +#define SCORE_GAME_LEN 256 typedef struct displacement { int dx; -- cgit v1.2.3-56-ge451