From 56b3b679266d099eba0ac4e8282b239c652357c3 Mon Sep 17 00:00:00 2001 From: jsm Date: Wed, 8 Sep 1999 21:57:16 +0000 Subject: Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in the games. --- sail/sync.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sail/sync.c') diff --git a/sail/sync.c b/sail/sync.c index db9f4834..8bab1a99 100644 --- a/sail/sync.c +++ b/sail/sync.c @@ -1,4 +1,4 @@ -/* $NetBSD: sync.c,v 1.11 1999/02/10 00:45:46 hubertf Exp $ */ +/* $NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: sync.c,v 1.11 1999/02/10 00:45:46 hubertf Exp $"); +__RCSID("$NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $"); #endif #endif /* not lint */ @@ -262,7 +262,7 @@ Sync() } if (n <= 0) return -1; - (void) fseek(sync_fp, sync_seek, 0); + (void) fseek(sync_fp, sync_seek, SEEK_SET); for (;;) { switch (fscanf(sync_fp, "%d%d%d", &type, &shipnum, &isstr)) { case 3: -- cgit v1.2.3