X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fexport%2Fexport.c;h=14af11219fcfc8fa358d6376fcf003ada044be85;hp=93c58b62c61f750a7c41247ed982097a4fa63971;hb=124b74413e943ab9c02cdff2832d1d81dc9fda87;hpb=ec16220910f0bf1bf2b8e1d50e78df7da11d8b1e diff --git a/support/export/export.c b/support/export/export.c index 93c58b6..14af112 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -255,15 +255,3 @@ export_freeall(void) } client_freeall(); } - -void -export_reset(nfs_export *exp) -{ - if (!exp) - return; - - /* Restore m_path. */ - strncpy(exp->m_export.m_path, exp->m_export.e_path, - sizeof (exp->m_export.m_path) - 1); - exp->m_export.m_path[sizeof (exp->m_export.m_path) - 1] = '\0'; -}