delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2008/06/25/13:19:13

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
X-Authenticated: #27081556
X-Provags-ID: V01U2FsdGVkX19KuYEwY2VKqZlJk7ADvCNfwRLYVujRDwlcESiLHA
VLgHH6GWEHMXph
From: Juan Manuel Guerrero <juan DOT guerrero AT gmx DOT de>
To: djgpp-workers AT delorie DOT com
Subject: Scope of _ioctl_get_first_cluster().
Date: Wed, 25 Jun 2008 19:11:45 +0200
User-Agent: KMail/1.9.5
MIME-Version: 1.0
Message-Id: <200806251911.45534.juan.guerrero@gmx.de>
X-Y-GMX-Trusted: 0
Reply-To: djgpp-workers AT delorie DOT com

In lstat.c _ioctl_get_first_cluster() is defined but not as static function.
It is a helper function called by stat_assist() but by no other function in libc.
Is it intentional that _ioctl_get_first_cluster() has global scope?
Should not it be local?

Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019