From db04fb4260b06f074f59801064fbf9e787f52f7b Mon Sep 17 00:00:00 2001
From: Roland McGrath <roland@gnu.org>
Date: Sun, 28 Apr 1996 19:23:12 +0000
Subject: Add obsolescence link warning.

---
 libdiskfs/protid-make.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

(limited to 'libdiskfs')

diff --git a/libdiskfs/protid-make.c b/libdiskfs/protid-make.c
index 7843be80..fdf267b4 100644
--- a/libdiskfs/protid-make.c
+++ b/libdiskfs/protid-make.c
@@ -1,4 +1,4 @@
-/* 
+/*
    Copyright (C) 1994, 1995, 1996 Free Software Foundation
 
    This program is free software; you can redistribute it and/or
@@ -46,17 +46,17 @@ diskfs_finish_protid (struct protid *cred, uid_t *uids, int nuids,
     nuids = 1;
   if (!gids)
     ngids = 1;
-  
+
   cred->uids = malloc (nuids * sizeof (uid_t));
   cred->gids = malloc (ngids * sizeof (uid_t));
   cred->nuids = nuids;
   cred->ngids = ngids;
-  
+
   if (uids)
     bcopy (uids, cred->uids, nuids * sizeof (uid_t));
   else
     *cred->uids = 0;
-  
+
   if (gids)
     bcopy (gids, cred->gids, ngids * sizeof (uid_t));
   else
@@ -86,3 +86,6 @@ diskfs_make_protid (struct peropen *po, uid_t *uids, int nuids,
     cred = 0;
   return cred;
 }
+
+#include "linkwarn.h"
+obsolete (diskfs_make_protid, diskfs_create_protid)
-- 
cgit v1.2.3