Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: utils/archive/entry.c

Issue 10824210: Fix the archive code so that it compiles in a stricter mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Small fixes Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/archive/dart_archive.c ('k') | utils/archive/entry.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/entry.c
diff --git a/utils/archive/entry.c b/utils/archive/entry.c
index 7e96145e0cbd390e2621136a1ccf6167d670e39d..81cc0186a13b8f686d04118255ed4998c971c6e7 100644
--- a/utils/archive/entry.c
+++ b/utils/archive/entry.c
@@ -156,14 +156,6 @@ void archiveEntrySetPathname(Dart_Port p, struct archive_entry* e,
postSuccess(p, NULL);
}
-void archiveEntrySetSourcepath(Dart_Port p, struct archive_entry* e,
- Dart_CObject* request) {
- Dart_CObject* value = getNullableStringArgument(p, request, 0);
- if (value == NULL) return;
- archive_entry_set_sourcepath(e, getNullableString(value));
- postSuccess(p, NULL);
-}
-
void archiveEntrySetSymlink(Dart_Port p, struct archive_entry* e,
Dart_CObject* request) {
Dart_CObject* value = getNullableStringArgument(p, request, 0);
@@ -192,7 +184,7 @@ void archiveEntrySetPerm(Dart_Port p, struct archive_entry* e,
Dart_CObject* request) {
Dart_CObject* value = getIntArgument(p, request, 0);
if (value == NULL) return;
- archive_entry_set_perm_mask(e, getInteger(value));
+ archive_entry_set_perm(e, getInteger(value));
postSuccess(p, NULL);
}
@@ -228,14 +220,6 @@ void archiveEntrySetFflagsClear(Dart_Port p, struct archive_entry* e,
postSuccess(p, NULL);
}
-void archiveEntrySetFflagsText(Dart_Port p, struct archive_entry* e,
- Dart_CObject* request) {
- Dart_CObject* value = getNullableStringArgument(p, request, 0);
- if (value == NULL) return;
- archive_entry_set_fflags_text(e, getNullableString(value));
- postSuccess(p, NULL);
-}
-
void archiveEntrySetFiletype(Dart_Port p, struct archive_entry* e,
Dart_CObject* request) {
Dart_CObject* value = getIntArgument(p, request, 0);
« no previous file with comments | « utils/archive/dart_archive.c ('k') | utils/archive/entry.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698