Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -32,12 +32,11 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <cdefs.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
int
|
||||
main(int argc , char *argv[])
|
||||
{
|
||||
@@ -47,8 +46,7 @@ main(int argc , char *argv[])
|
||||
if (*++argv && !strcmp(*argv, "-n")) {
|
||||
++argv;
|
||||
nflag = 1;
|
||||
}
|
||||
else
|
||||
} else
|
||||
nflag = 0;
|
||||
|
||||
while (argv[0] != NULL) {
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*-
|
||||
* Copyright (c) 1993
|
||||
/* Copyright (c) 1993
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -31,9 +30,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <ktypes.h>
|
||||
|
||||
#include <cdefs.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
//#include <sys/param.h>
|
||||
#include <sysctl.h>
|
||||
@@ -47,9 +44,7 @@
|
||||
void usage(void);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
|
||||
#define MFLAG 0x01
|
||||
|
||||
Reference in New Issue
Block a user