1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

cleanup: remove pwd.h, delete a stray comment and a const qualifier

This commit is contained in:
tb 2015-12-04 17:34:40 +00:00
parent 8fd02d5b65
commit d3431a599d
3 changed files with 4 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: battlestar.c,v 1.17 2015/11/29 15:31:06 tb Exp $ */
/* $OpenBSD: battlestar.c,v 1.18 2015/12/04 17:34:40 tb Exp $ */
/* $NetBSD: battlestar.c,v 1.3 1995/03/21 15:06:47 cgd Exp $ */
/*
@ -53,8 +53,6 @@ main(int argc, char *argv[])
open_score_file();
/* revoke privs */
if (argc < 2)
initialize(NULL);
else if (strcmp(argv[1], "-r") == 0)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: com6.c,v 1.20 2015/11/29 15:31:06 tb Exp $ */
/* $OpenBSD: com6.c,v 1.21 2015/12/04 17:34:40 tb Exp $ */
/* $NetBSD: com6.c,v 1.5 1995/04/27 21:30:23 mycroft Exp $ */
/*
@ -92,7 +92,7 @@ static FILE *score_fp;
void
open_score_file(void)
{
const char scorefile[PATH_MAX];
char scorefile[PATH_MAX];
const char *home;
int ret;

View File

@ -1,4 +1,4 @@
/* $OpenBSD: extern.h,v 1.17 2014/11/16 04:50:46 guenther Exp $ */
/* $OpenBSD: extern.h,v 1.18 2015/12/04 17:34:40 tb Exp $ */
/* $NetBSD: extern.h,v 1.5 1995/04/24 12:22:18 cgd Exp $ */
/*
@ -38,7 +38,6 @@
#include <err.h>
#include <errno.h>
#include <limits.h>
#include <pwd.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>