]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
Move mmap_full_file from osl.c to fd.c.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index a3f80bb9674f470daef6ef6f3b49dc318984d79c..1c3aaa346e3260032b6631ac3e55fb94f0bc0261 100644 (file)
--- a/error.h
+++ b/error.h
@@ -64,8 +64,6 @@ extern const char **para_errlist[];
        PARA_ERROR(STAT, "can not stat file"), \
        PARA_ERROR(FSTAT, "fstat error"), \
        PARA_ERROR(RENAME, "rename failed"), \
-       PARA_ERROR(EMPTY, "file empty"), \
-       PARA_ERROR(MMAP, "mmap error"), \
        PARA_ERROR(MUNMAP, "munmap failed"), \
        PARA_ERROR(WRITE, "write error"), \
        PARA_ERROR(LSEEK, "lseek error"), \
@@ -409,6 +407,8 @@ extern const char **para_errlist[];
        PARA_ERROR(CHDIR, "failed to change directory"), \
        PARA_ERROR(OPEN, "failed to open file"), \
        PARA_ERROR(CHDIR_PERM, "insufficient permissions to chdir"), \
+       PARA_ERROR(EMPTY, "file empty"), \
+       PARA_ERROR(MMAP, "mmap error"), \
 
 
 #define WRITE_ERRORS \