[llvm-commits] [test-suite] r106514 - /test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/pfs.h
Dan Gohman
gohman at apple.com
Mon Jun 21 18:00:39 PDT 2010
Author: djg
Date: Mon Jun 21 20:00:39 2010
New Revision: 106514
URL: http://llvm.org/viewvc/llvm-project?rev=106514&view=rev
Log:
Change this struct's name so that it doesn't conflict with a keyword in C99.
Modified:
test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/pfs.h
Modified: test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/pfs.h
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/pfs.h?rev=106514&r1=106513&r2=106514&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/pfs.h (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Prolangs-C/archie-client/pfs.h Mon Jun 21 20:00:39 2010
@@ -210,7 +210,7 @@
char *atype; /* Authentication type */
char *rights; /* Rights */
char *principals; /* Authorized principals */
- struct restrict *restrictions; /* Restrictions on use */
+ struct restrict_ *restrictions; /* Restrictions on use */
struct acl *previous; /* Previous elt in linked list */
struct acl *next; /* Next element in linked list */
};
@@ -232,7 +232,7 @@
/* Definition of structure contining access restrictions */
/* for future extensions */
-struct restrict {
+struct restrict_ {
struct acl *previous; /* Previous elt in linked list */
struct acl *next; /* Next element in linked list */
};
More information about the llvm-commits
mailing list