tdbrestore: include config.h before any glibc headers
[samba.git] / lib / tdb / tools / tdbrestore.c
index 1daac63db18ef5c1a52b3b2777ad2a4de2bd1852..81c986c60038b3490c6113175ffad394153cce51 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include <assert.h>
 #include "replace.h"
+#include <assert.h>
 #include "system/locale.h"
 #include "system/time.h"
 #include "system/filesys.h"
 #include "system/wait.h"
 #include "tdb.h"
 
-#define debug_fprintf(file, fmt, ...) do {/*nothing*/} while (0)
-
 static int read_linehead(FILE *f)
 {
        int i, c;
@@ -206,7 +204,6 @@ static int restore_tdb(const char *fname)
                fprintf(stderr, "Error closing tdb\n");
                return 1;
        }
-       fprintf(stderr, "EOF\n");
        return 0;
 }