-/* 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
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