X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fgeometry.h;h=a1c47583a31f2a3c10fa8bd7871a0b9932441b5d;hb=93084ed3d699cecc335adfeffd9eb959245d4fc5;hp=1bf387fdbfab7e7408d7b580cbee0c0bfb13945b;hpb=23c77cc092dbbb1e12c47c2b0021d4476b543702;p=rrq%2Fmaintain_lilo.git diff --git a/src/geometry.h b/src/geometry.h index 1bf387f..a1c4758 100644 --- a/src/geometry.h +++ b/src/geometry.h @@ -1,13 +1,14 @@ -/* geometry.h - Device and file geometry computation */ -/* -Copyright 1992-1998 Werner Almesberger. -Copyright 1999-2005 John Coffman. -All rights reserved. +/* geometry.h - Device and file geometry computation + * + * Copyright 1992-1998 Werner Almesberger + * Copyright 1999-2005 John Coffman + * Copyright 2009-2011 Joachim Wiedorn + * All rights reserved. + * + * Licensed under the terms contained in the file 'COPYING' + * in the source directory. + */ -Licensed under the terms contained in the file 'COPYING' in the -source directory. - -*/ #ifndef GEOMETRY_H #define GEOMETRY_H @@ -131,7 +132,7 @@ void geo_get(GEOMETRY *geo,int device,int user_device,int all); is retrieved and the other geometry information is undefined. */ -int geo_open(GEOMETRY *geo,char *name,int flags); +int geo_open(GEOMETRY *geo,const char *name,int flags); /* Opens the specified file or block device, obtains the necessary geometry information and returns the file descriptor. If the name contains a BIOS device specification (xxx:yyy), it is removed and stored in the geometry