symlink.c:54: conflicting types for `coda_readlink'
symlink.c:27: previous declaration of `coda_readlink'
symlink.c: In function `coda_readlink':
symlink.c:55: structure has no member named `d_inode'
make[2]: *** [symlink.o] Error 1
make[2]: Leaving directory `/usr/sys/linux/fs/coda'
I get this warning with 2.1.77:
cnode.c:17: warning: static declaration for `coda_cnode_alloc' follows
non-static
Making the following change made the warning go away, but I'm not sure
it's correct. I haven't actually tried to use Coda yet.
--- /usr/src/linux/fs/coda/cnode.c Sun Dec 21 14:45:14 1997
+++ cnode.c Sun Jan 4 15:33:43 1998
@@ -1,3 +1,4 @@
+/* cnode.c */
/* cnode related routines for the coda kernel code
Peter Braam, Sep 1996.
*/
@@ -13,11 +14,8 @@
extern int coda_debug;
extern int coda_print_entry;
-/* cnode.c */
-static struct cnode *coda_cnode_alloc(void);
-
/* return pointer to new empty cnode */
-static struct cnode *coda_cnode_alloc(void)
+struct cnode *coda_cnode_alloc(void)
{
struct cnode *result = NULL;
___
Trevor Johnson