patch-2.4.8 linux/include/linux/sysv_fs.h
Next file: linux/include/linux/tty_flip.h
Previous file: linux/include/linux/swap.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Jul 26 13:56:31 2001
- Orig file:
v2.4.7/linux/include/linux/sysv_fs.h
- Orig date:
Tue Jul 3 17:08:22 2001
diff -u --recursive --new-file v2.4.7/linux/include/linux/sysv_fs.h linux/include/linux/sysv_fs.h
@@ -271,14 +271,14 @@
*/
#define COH_KLUDGE_SYMLINK_MODE (S_IFREG | S_ISVTX)
#define COH_KLUDGE_NOT_SYMLINK (S_IFREG | S_ISVTX | S_IRUSR) /* force read access */
-extern inline mode_t from_coh_imode(unsigned short mode)
+static inline mode_t from_coh_imode(unsigned short mode)
{
if (mode == COH_KLUDGE_SYMLINK_MODE)
return (S_IFLNK | 0777);
else
return mode;
}
-extern inline unsigned short to_coh_imode(mode_t mode)
+static inline unsigned short to_coh_imode(mode_t mode)
{
if (S_ISLNK(mode))
return COH_KLUDGE_SYMLINK_MODE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)