unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] Remove unused notmuch_parse_date function prototype.
@ 2009-11-28 20:11 Jeffrey C. Ollie
  2009-12-04  1:09 ` Carl Worth
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey C. Ollie @ 2009-11-28 20:11 UTC (permalink / raw)
  To: Not Much Mail

notmuch_parse_date is not implemented, so remove the unused function
prototype.

Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
---
 lib/notmuch-private.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index d3f9a4c..ddf4cb6 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -330,18 +330,6 @@ void
 _notmuch_message_add_reply (notmuch_message_t *message,
 			    notmuch_message_node_t *reply);
 
-/* date.c */
-
-/* Parse an RFC 8222 date string to a time_t value.
- *
- * The tz_offset argument can be used to also obtain the time-zone
- * offset, (but can be NULL if the call is not interested in that).
- *
- * Returns 0 on error.
- */
-time_t
-notmuch_parse_date (const char *str, int *tz_offset);
-
 /* sha1.c */
 
 char *
-- 
1.6.5.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove unused notmuch_parse_date function prototype.
  2009-11-28 20:11 [PATCH] Remove unused notmuch_parse_date function prototype Jeffrey C. Ollie
@ 2009-12-04  1:09 ` Carl Worth
  0 siblings, 0 replies; 2+ messages in thread
From: Carl Worth @ 2009-12-04  1:09 UTC (permalink / raw)
  To: Jeffrey C. Ollie, Not Much Mail

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

On Sat, 28 Nov 2009 14:11:16 -0600, "Jeffrey C. Ollie" <jeff@ocjtech.us> wrote:
> notmuch_parse_date is not implemented, so remove the unused function
> prototype.

Thanks for helping to clean out this cruft. Obviously, this function did
exist in the past.

-Carl

PS. Is there any easy way to check for problems like this at compile
time? (I suppose I could go look at the checks we have in the cairo
project---I know Behdad wrote stuff there to ensure we weren't leaking
private functions into the library interface, etc. so he may have coded
up something for this case as well.)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-04  1:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-28 20:11 [PATCH] Remove unused notmuch_parse_date function prototype Jeffrey C. Ollie
2009-12-04  1:09 ` Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).