aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-07-09 08:51:32 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2016-07-09 09:27:37 +0300
commite4d2c56435a23ce1d3a0c06518231f632311de04 (patch)
treefe6b7d0f3d7e9792764f5c62583e6616ff0dd968 /src
parent479a469033903a76b9c073806037dd66176f3da0 (diff)
downloadgdbm-e4d2c56435a23ce1d3a0c06518231f632311de04.tar.gz
gdbm-e4d2c56435a23ce1d3a0c06518231f632311de04.tar.bz2
Fix indentation
Diffstat (limited to 'src')
-rw-r--r--src/gdbm.h.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/gdbm.h.in b/src/gdbm.h.in
index 07ac4dc..9a027dc 100644
--- a/src/gdbm.h.in
+++ b/src/gdbm.h.in
@@ -1,7 +1,7 @@
/* gdbm.h - The include file for dbm users. -*- c -*- */
/* This file is part of GDBM, the GNU data base manager, by Philip A. Nelson.
- Copyright (C) 1990, 1991, 1993, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1990, 1991, 1993, 2011, 2016 Free Software Foundation, Inc.
GDBM is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -82,10 +82,11 @@ extern "C" {
typedef @GDBM_COUNT_T@ gdbm_count_t;
/* The data and key structure. */
-typedef struct {
- char *dptr;
- int dsize;
- } datum;
+typedef struct
+{
+ char *dptr;
+ int dsize;
+} datum;
/* A pointer to the GDBM file. */
@@ -173,6 +174,7 @@ extern int gdbm_load_from_file (GDBM_FILE *, FILE *, int replace,
# define _GDBM_MIN_ERRNO 0
# define _GDBM_MAX_ERRNO GDBM_ERR_FILE_MODE
+
typedef int gdbm_error; /* For compatibilities sake. */
extern gdbm_error gdbm_errno;
extern const char * const gdbm_errlist[];

Return to:

Send suggestions and report system problems to the System administrator.