+// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2000-2004 Silicon Graphics, Inc.
* All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it would be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <sys/types.h>
#include <sys/stat.h>
int print_no_data;
int print_no_print;
int print_exit = 1; /* -e is now default. specify -c to override */
-int print_operation = OP_PRINT;
+static int print_operation = OP_PRINT;
-void
+static void
usage(void)
{
fprintf(stderr, _("Usage: %s [options...] <device>\n\n\
exit(1);
}
-int
+static int
logstat(xfs_mount_t *mp)
{
int fd;
x.dname, strerror(errno));
exit(1);
}
- lseek64(fd, 0, SEEK_SET);
+ lseek(fd, 0, SEEK_SET);
if (read(fd, buf, sizeof(buf)) != sizeof(buf)) {
fprintf(stderr, _(" read of XFS superblock failed\n"));
exit(1);