lkml.org 
[lkml]   [1998]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: include file conflict
   From: "H. Peter Anvin" <hpa@transmeta.com>
Date: Mon, 16 Nov 1998 11:29:56 -0800 (PST)

> I've been thinking about this for a while myself, and it would be
> interesting to put something like a major version number and datestamp
> into the beginning of the interface header file:
>
> /*
> * linux/ext2fs.h
> *
> * INTERFACE_VERSION=1, DATECODE=981012
> */
>
I would use actual #define's. That is what autofs does, in fact.

The reason why I was thinking about doing in comments was so I could
have a general purpose autoconf macro that would do this for all
packages. I suppose the autoconf macro could take as an argument the
prefix name for the #define, though.

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2011 Jasper Spaans