summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c58b181)
SCCS-vsn: bin/ls/ls.c 5.74
SCCS-vsn: usr.bin/du/du.c 5.21
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)ls.c 5.73 (Berkeley) %G%";
+static char sccsid[] = "@(#)ls.c 5.74 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
#include "ls.h"
#include "extern.h"
#include "ls.h"
#include "extern.h"
-char *getbsize __P((char *, int *, long *));
+char *getbsize __P((int *, long *));
static void display __P((FTSENT *, FTSENT *));
static int mastercmp __P((const FTSENT **, const FTSENT **));
static void display __P((FTSENT *, FTSENT *));
static int mastercmp __P((const FTSENT **, const FTSENT **));
/* If -l or -s, figure out block size. */
if (f_longform || f_size) {
/* If -l or -s, figure out block size. */
if (f_longform || f_size) {
- (void)getbsize("ls", ¬used, &blocksize);
+ (void)getbsize(¬used, &blocksize);
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)du.c 5.20 (Berkeley) %G%";
+static char sccsid[] = "@(#)du.c 5.21 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-char *getbsize __P((char *, int *, long *));
+char *getbsize __P((int *, long *));
int linkchk __P((FTSENT *));
void usage __P((void));
int linkchk __P((FTSENT *));
void usage __P((void));
- (void)getbsize("du", ¬used, &blocksize);
+ (void)getbsize(¬used, &blocksize);
blocksize /= 512;
if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL)
blocksize /= 512;
if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL)