The following commit has been merged in the master branch:
commit d854ad08565b9286022add4d79e70a4d8c0c6d84
Author: Guillem Jover <[email protected]>
Date: Wed Aug 26 11:37:01 2009 +0200
Remove redundant extern storage class specifier in functions
diff --git a/dselect/method.h b/dselect/method.h
index ad7c312..94285ff 100644
--- a/dselect/method.h
+++ b/dselect/method.h
@@ -89,8 +89,8 @@ extern int noptions;
extern struct dselect_option *options, *coption;
extern struct method *methods;
-extern void readmethods(const char *pathbase, dselect_option **optionspp, int
*nread);
-extern void getcurrentopt();
-extern void writecurrentopt();
+void readmethods(const char *pathbase, dselect_option **optionspp, int *nread);
+void getcurrentopt();
+void writecurrentopt();
#endif /* METHOD_H */
diff --git a/lib/dpkg/dpkg-db.h b/lib/dpkg/dpkg-db.h
index 39b6e16..a3a2288 100644
--- a/lib/dpkg/dpkg-db.h
+++ b/lib/dpkg/dpkg-db.h
@@ -445,7 +445,7 @@ int epochsdiffer(const struct versionrevision *a,
const struct versionrevision *b);
/*** from nfmalloc.c ***/
-extern void *nfmalloc(size_t);
+void *nfmalloc(size_t);
char *nfstrsave(const char*);
char *nfstrnsave(const char*, size_t);
void nffreeall(void);
diff --git a/lib/dpkg/tarfn.h b/lib/dpkg/tarfn.h
index 469d476..8c126f3 100644
--- a/lib/dpkg/tarfn.h
+++ b/lib/dpkg/tarfn.h
@@ -62,6 +62,6 @@ struct TarFunctions {
};
typedef struct TarFunctions TarFunctions;
-extern int TarExtractor(void * userData, const TarFunctions * functions);
+int TarExtractor(void *userData, const TarFunctions *functions);
#endif
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]