Constantise as much as possible so that it reduces COW usage.

This commit is contained in:
Roy Marples
2008-02-01 19:54:46 +00:00
parent f12f3e0641
commit fef5d0af59
10 changed files with 10 additions and 10 deletions

View File

@@ -161,7 +161,7 @@ static int parse_owner (struct passwd **user, struct group **group,
#include "_usage.h"
#define extraopts "path1 path2 ..."
#define getoptstring "dfm:o:" getoptstring_COMMON
static struct option longopts[] = {
static const struct option longopts[] = {
{ "directory", 0, NULL, 'd'},
{ "file", 0, NULL, 'f'},
{ "mode", 1, NULL, 'm'},