diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-11 21:16:03 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-11 21:16:03 (GMT) |
commit | 9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0 (patch) | |
tree | c12e44689277430502086274a8cb1ab103a8d8be /Mac/Modules/macfsmodule.c | |
parent | 5e80a7579918dca87a31725e379cb3ea79e2a7a5 (diff) | |
download | cpython-9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0.zip cpython-9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0.tar.gz cpython-9ae898b415ad0758dbe1e1cb43f48f60bf8dfab0.tar.bz2 |
ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.
Diffstat (limited to 'Mac/Modules/macfsmodule.c')
-rw-r--r-- | Mac/Modules/macfsmodule.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index bdc1263..048b243 100644 --- a/Mac/Modules/macfsmodule.c +++ b/Mac/Modules/macfsmodule.c @@ -34,6 +34,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include "getapplbycreator.h" +/* Should this be in macglue.h? */ +extern FSSpec *mfs_GetFSSpecFSSpec(PyObject *); + static PyObject *ErrorObject; /* ----------------------------------------------------- */ @@ -174,9 +177,8 @@ mfsa_getattr(self, name) return Py_FindMethod(mfsa_methods, (PyObject *)self, name); } -mfsaobject * -newmfsaobject(alias) - AliasHandle alias; +static mfsaobject * +newmfsaobject(AliasHandle alias) { mfsaobject *self; @@ -334,8 +336,7 @@ static PyTypeObject Mfsitype = { ** object is a python fsspec object, else NULL */ FSSpec * -mfs_GetFSSpecFSSpec(self) - PyObject *self; +mfs_GetFSSpecFSSpec(PyObject *self) { if ( is_mfssobject(self) ) return &((mfssobject *)self)->fsspec; |