Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 22:11:24 -0400 (EDT)
From:      Mike Heffner <mheffner@novacoxmail.com>
To:        Mike Barcroft <mike@q9media.com>
Cc:        audit@FreeBSD.org
Subject:   RE: src/usr.sbin/zic patch
Message-ID:  <XFMail.20010624221124.mheffner@novacoxmail.com>
In-Reply-To: <200106232304.f5NN4Zh89727@coffee.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23-Jun-2001 Mike Barcroft wrote:
| I would appreciate it if someone would commit the patch at the end of
| this message.  Also available at:
| http://testbed.q9media.net/freebsd/zic.20010623.patch
...
| 
| Index: zic/private.h
| ===================================================================
| RCS file: /home/ncvs/src/usr.sbin/zic/private.h,v
| retrieving revision 1.4
| diff -u -r1.4 private.h
| --- zic/private.h     2000/11/28 18:18:56     1.4
| +++ zic/private.h     2001/06/23 22:19:53
| @@ -99,7 +99,7 @@
|  void *       irealloc P((void * pointer, int size));
|  void icfree P((char * pointer));
|  void ifree P((char * pointer));
| -char *       scheck P((const char *string, const char *format));
| +const char * scheck P((const char *string, const char *format));

I believe `__const' should be used to not break K&R. Same goes for the
definition.


Mike

-- 
  Mike Heffner         <mheffner@[acm.]vt.edu>
  Fredericksburg, VA       <mikeh@FreeBSD.org>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20010624221124.mheffner>