Unix Technical Forum

#ifndef lint

This is a discussion on #ifndef lint within the mailing.openbsd.tech forums, part of the OpenBSD category; --> I remember seeing a comment regarding the topic a few days ago on a patch. But I can't seem ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:49 AM
Paul Irofti
 
Posts: n/a
Default #ifndef lint

I remember seeing a comment regarding the topic a few days ago on a
patch. But I can't seem to find it in the archive.

Anyways, I was browsing through the /usr/src and noticed that most c
files begin with something like:

#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */

#ifndef lint
#if 0
static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#else
static char rcsid[] = "$OpenBSD: cat.c,v 1.17 2005/04/05 01:18:53 jaredy
Exp $";
#endif
#endif /* not lint */


My question is why is this used twice? and not in a single #ifndef?

Thanks,
Paul.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com