For consistency, use "cdef extern" everywhere instead of "cdef import"
[invirt/packages/python-afs.git] / afs / afs.pxd
index 2b02338..aacba3b 100644 (file)
@@ -155,10 +155,10 @@ cdef extern from "afs/vice.h":
         unsigned short out_size
         unsigned short in_size
 
-cdef import from "afs/venus.h":
+cdef extern from "afs/venus.h":
     enum:
         # PIOCTLS to Venus that we use
-        VIOCGETAL, VIOC_GETVCXSTATUS2, VIOCSETAL
+        VIOCGETAL, VIOC_GETVCXSTATUS2, VIOCSETAL, VIOC_FILE_CELL_NAME
 
 # pioctl doesn't actually have a header, so we have to define it here
 cdef extern int pioctl(char *, afs_int32, ViceIoctl *, afs_int32)